home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 August / macformat-027.iso / mac / Portables / Softline Newton / Demo ƒ / nsbasic / NS BASIC Demo ƒ / Release Notes < prev    next >
MacBinary  |  1995-03-20  |  24.9 KB  |  [TEXT/ttxt]

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Release Notes

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Mon Mar 20 20:06:26 1995, modified Mon Mar 20 20:06:26 1995, creator SimpleText, type ASCII, 24859 bytes "Release Notes" , at 0x619b 332 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 52 65 6c 65 61 73 | 65 20 4e 6f 74 65 73 00 |..Releas|e Notes.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 74 74 78 | 74 01 00 00 00 00 00 00 |.TEXTttx|t.......|
|00000050| 00 00 00 00 00 61 1b 00 | 00 01 4c ab 93 d7 12 ab |.....a..|..L.....|
|00000060| 93 d7 12 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e8 1e 00 00 |........|........|
|00000080| 4e 53 20 42 41 53 49 43 | 20 32 2e 30 33 20 52 65 |NS BASIC| 2.03 Re|
|00000090| 6c 65 61 73 65 20 4e 6f | 74 65 73 0d 0d 54 68 65 |lease No|tes..The|
|000000a0| 73 65 20 61 72 65 20 52 | 65 6c 65 61 73 65 20 6e |se are R|elease n|
|000000b0| 6f 74 65 73 20 66 6f 72 | 20 4e 53 20 42 41 53 49 |otes for| NS BASI|
|000000c0| 43 20 32 2e 30 33 2e 20 | 41 6c 6c 20 6f 66 20 74 |C 2.03. |All of t|
|000000d0| 68 65 20 69 6e 66 6f 72 | 6d 61 74 69 6f 6e 20 69 |he infor|mation i|
|000000e0| 6e 20 74 68 65 73 65 20 | 6e 6f 74 65 73 20 69 73 |n these |notes is|
|000000f0| 20 6e 65 77 20 74 6f 20 | 4e 53 20 42 41 53 49 43 | new to |NS BASIC|
|00000100| 2c 20 61 6e 64 20 6e 6f | 74 20 69 6e 20 74 68 65 |, and no|t in the|
|00000110| 20 63 75 72 72 65 6e 74 | 20 6d 61 6e 75 61 6c 20 | current| manual |
|00000120| 28 64 61 74 65 64 20 4f | 63 74 20 31 2c 20 31 39 |(dated O|ct 1, 19|
|00000130| 39 34 29 2e 20 54 68 65 | 72 65 20 61 72 65 20 71 |94). The|re are q|
|00000140| 75 69 74 65 20 61 20 6e | 75 6d 62 65 72 20 6f 66 |uite a n|umber of|
|00000150| 20 73 69 67 6e 69 66 69 | 63 61 6e 74 20 65 6e 68 | signifi|cant enh|
|00000160| 61 6e 63 65 6d 65 6e 74 | 73 20 69 6e 20 74 68 69 |ancement|s in thi|
|00000170| 73 20 72 65 6c 65 61 73 | 65 3a 20 70 6c 65 61 73 |s releas|e: pleas|
|00000180| 65 20 72 65 61 64 20 74 | 68 69 73 20 64 6f 63 75 |e read t|his docu|
|00000190| 6d 65 6e 74 20 63 61 72 | 65 66 75 6c 6c 79 20 62 |ment car|efully b|
|000001a0| 65 66 6f 72 65 20 75 73 | 69 6e 67 20 74 68 65 6d |efore us|ing them|
|000001b0| 2e 0d 0d 50 6c 65 61 73 | 65 20 73 65 6e 64 20 71 |...Pleas|e send q|
|000001c0| 75 65 73 74 69 6f 6e 73 | 20 74 6f 20 75 73 20 61 |uestions| to us a|
|000001d0| 74 20 73 75 70 70 6f 72 | 74 40 6e 73 62 61 73 69 |t suppor|t@nsbasi|
|000001e0| 63 2e 63 6f 6d 2c 20 66 | 61 78 20 34 31 36 20 32 |c.com, f|ax 416 2|
|000001f0| 36 34 2d 35 38 38 38 2c | 20 43 6f 6d 70 75 73 65 |64-5888,| Compuse|
|00000200| 72 76 65 20 5b 37 34 34 | 33 31 2c 34 31 32 5d 20 |rve [744|31,412] |
|00000210| 6f 72 20 70 68 6f 6e 65 | 20 28 34 31 36 29 20 32 |or phone| (416) 2|
|00000220| 36 34 2d 35 39 39 39 0d | 0d 49 66 20 79 6f 75 72 |64-5999.|.If your|
|00000230| 20 6d 61 6e 75 61 6c 20 | 69 73 20 61 6e 20 65 64 | manual |is an ed|
|00000240| 69 74 69 6f 6e 20 65 61 | 72 6c 69 65 72 20 74 68 |ition ea|rlier th|
|00000250| 61 6e 20 4f 63 74 20 31 | 2c 20 31 39 39 34 2c 20 |an Oct 1|, 1994, |
|00000260| 74 68 65 72 65 20 69 73 | 20 61 20 6e 65 77 65 72 |there is| a newer|
|00000270| 20 65 64 69 74 69 6f 6e | 20 61 76 61 69 6c 61 62 | edition| availab|
|00000280| 6c 65 2e 20 49 74 20 69 | 6e 63 6c 75 64 65 73 20 |le. It i|ncludes |
|00000290| 61 6c 6c 20 74 68 65 20 | 6e 65 77 20 66 65 61 74 |all the |new feat|
|000002a0| 75 72 65 73 20 69 6e 20 | 76 65 72 73 69 6f 6e 20 |ures in |version |
|000002b0| 31 2e 31 30 20 61 73 20 | 77 65 6c 6c 20 61 73 20 |1.10 as |well as |
|000002c0| 6e 65 77 20 73 65 63 74 | 69 6f 6e 73 20 6f 6e 20 |new sect|ions on |
|000002d0| 42 65 67 69 6e 6e 69 6e | 67 20 4e 53 20 42 41 53 |Beginnin|g NS BAS|
|000002e0| 49 43 20 50 72 6f 67 72 | 61 6d 6d 69 6e 67 20 61 |IC Progr|amming a|
|000002f0| 6e 64 20 41 64 76 61 6e | 63 65 64 20 4e 53 20 42 |nd Advan|ced NS B|
|00000300| 41 53 49 43 20 50 72 6f | 67 72 61 6d 6d 69 6e 67 |ASIC Pro|gramming|
|00000310| 2e 20 43 6f 70 69 65 73 | 20 61 72 65 20 61 76 61 |. Copies| are ava|
|00000320| 69 6c 61 62 6c 65 20 74 | 6f 20 6c 69 63 65 6e 63 |ilable t|o licenc|
|00000330| 65 64 20 75 73 65 72 73 | 20 66 6f 72 20 24 32 30 |ed users| for $20|
|00000340| 2e 30 30 20 28 2b 35 2e | 30 30 20 53 26 48 29 2e |.00 (+5.|00 S&H).|
|00000350| 20 50 6c 65 61 73 65 20 | 63 61 6c 6c 20 6f 72 20 | Please |call or |
|00000360| 66 61 78 20 75 73 20 61 | 20 56 69 73 61 2f 4d 61 |fax us a| Visa/Ma|
|00000370| 73 74 65 72 63 61 72 64 | 20 6e 75 6d 62 65 72 20 |stercard| number |
|00000380| 74 6f 20 6f 72 64 65 72 | 2e 0d 0d 43 6f 6e 74 65 |to order|...Conte|
|00000390| 6e 74 73 20 6f 66 20 74 | 68 69 73 20 64 6f 63 75 |nts of t|his docu|
|000003a0| 6d 65 6e 74 0d 0d 41 2e | 20 49 6e 73 74 61 6c 6c |ment..A.| Install|
|000003b0| 61 74 69 6f 6e 20 61 6e | 64 20 63 6f 6e 76 65 72 |ation an|d conver|
|000003c0| 73 69 6f 6e 0d 42 2e 20 | 44 6f 63 75 6d 65 6e 74 |sion.B. |Document|
|000003d0| 61 74 69 6f 6e 20 43 68 | 61 6e 67 65 73 20 66 6f |ation Ch|anges fo|
|000003e0| 72 20 32 2e 30 33 0d 20 | 20 20 31 2e 20 44 72 61 |r 2.03. | 1. Dra|
|000003f0| 77 69 6e 67 20 66 75 6e | 63 74 69 6f 6e 73 20 61 |wing fun|ctions a|
|00000400| 6e 64 20 73 74 61 74 65 | 6d 65 6e 74 73 0d 20 20 |nd state|ments. |
|00000410| 20 32 2e 20 43 6c 69 63 | 6b 20 50 6f 73 69 74 69 | 2. Clic|k Positi|
|00000420| 6f 6e 20 76 61 72 69 61 | 62 6c 65 73 0d 20 20 20 |on varia|bles. |
|00000430| 33 2e 20 48 69 74 53 68 | 61 70 65 20 66 75 6e 63 |3. HitSh|ape func|
|00000440| 74 69 6f 6e 0d 20 20 20 | 34 2e 20 45 4e 56 49 52 |tion. |4. ENVIR|
|00000450| 4f 4e 20 50 52 49 4e 54 | 44 45 50 54 48 20 76 61 |ON PRINT|DEPTH va|
|00000460| 72 69 61 62 6c 65 0d 20 | 20 20 35 2e 20 47 4f 53 |riable. | 5. GOS|
|00000470| 55 42 20 73 6c 6f 74 20 | 69 6e 20 57 49 4e 44 4f |UB slot |in WINDO|
|00000480| 57 73 0d 20 20 20 36 2e | 20 45 52 41 53 45 20 73 |Ws. 6.| ERASE s|
|00000490| 74 61 74 65 6d 65 6e 74 | 0d 20 20 20 37 2e 20 45 |tatement|. 7. E|
|000004a0| 6e 68 61 6e 63 65 6d 65 | 6e 74 20 74 6f 20 56 41 |nhanceme|nt to VA|
|000004b0| 52 53 0d 20 20 20 38 2e | 20 4e 65 77 20 69 6e 74 |RS. 8.| New int|
|000004c0| 65 72 6e 61 6c 20 70 72 | 6f 67 72 61 6d 20 73 74 |ernal pr|ogram st|
|000004d0| 6f 72 61 67 65 20 6d 65 | 74 68 6f 64 0d 20 20 20 |orage me|thod. |
|000004e0| 39 2e 20 4e 65 77 20 77 | 69 6e 64 6f 77 20 6f 62 |9. New w|indow ob|
|000004f0| 6a 65 63 74 73 0d 20 20 | 31 30 2e 20 57 41 49 54 |jects. |10. WAIT|
|00000500| 20 73 74 61 74 65 6d 65 | 6e 74 20 69 6d 70 72 6f | stateme|nt impro|
|00000510| 76 65 64 0d 20 20 31 31 | 2e 20 49 6e 66 72 61 72 |ved. 11|. Infrar|
|00000520| 65 64 3a 20 73 65 6e 64 | 49 52 72 65 6d 6f 74 65 |ed: send|IRremote|
|00000530| 20 66 75 6e 63 74 69 6f | 6e 0d 20 20 31 32 2e 20 | functio|n. 12. |
|00000540| 49 6e 66 72 61 72 65 64 | 3a 20 63 6f 6d 6d 75 6e |Infrared|: commun|
|00000550| 69 63 61 74 69 6e 67 20 | 77 69 74 68 20 6f 74 68 |icating |with oth|
|00000560| 65 72 20 73 79 73 74 65 | 6d 73 0d 20 20 31 33 2e |er syste|ms. 13.|
|00000570| 20 45 6d 62 65 64 64 65 | 64 20 71 75 6f 74 65 20 | Embedde|d quote |
|00000580| 73 69 67 6e 73 20 69 6e | 20 73 74 72 69 6e 67 73 |signs in| strings|
|00000590| 0d 20 20 31 34 2e 20 49 | 4e 50 55 54 20 63 61 6e |. 14. I|NPUT can|
|000005a0| 20 6e 6f 77 20 68 61 6e | 64 6c 65 20 63 6f 6d 6d | now han|dle comm|
|000005b0| 61 73 0d 20 20 31 35 2e | 20 53 65 72 69 61 6c 20 |as. 15.| Serial |
|000005c0| 49 6e 70 75 74 20 49 6e | 66 6f 72 6d 61 74 69 6f |Input In|formatio|
|000005d0| 6e 0d 20 20 31 36 2e 20 | 4d 6f 6e 61 63 6f 20 46 |n. 16. |Monaco F|
|000005e0| 6f 6e 74 20 49 6d 70 72 | 6f 76 65 6d 65 6e 74 73 |ont Impr|ovements|
|000005f0| 0d 43 2e 20 42 75 67 20 | 46 69 78 65 73 20 61 6e |.C. Bug |Fixes an|
|00000600| 64 20 63 68 61 6e 67 65 | 73 0d 44 2e 20 4b 6e 6f |d change|s.D. Kno|
|00000610| 77 6e 20 62 75 67 73 0d | 0d 41 2e 20 49 6e 73 74 |wn bugs.|.A. Inst|
|00000620| 61 6c 6c 61 74 69 6f 6e | 20 61 6e 64 20 63 6f 6e |allation| and con|
|00000630| 76 65 72 73 69 6f 6e 0d | 0d 44 65 6c 65 74 65 20 |version.|.Delete |
|00000640| 74 68 65 20 63 75 72 72 | 65 6e 74 20 63 6f 70 79 |the curr|ent copy|
|00000650| 20 6f 66 20 4e 53 20 42 | 41 53 49 43 20 6f 6e 20 | of NS B|ASIC on |
|00000660| 79 6f 75 72 20 4e 65 77 | 74 6f 6e 20 61 6e 64 20 |your New|ton and |
|00000670| 69 6e 73 74 61 6c 6c 20 | 69 6e 20 74 68 65 20 73 |install |in the s|
|00000680| 61 6d 65 20 77 61 79 20 | 61 73 20 79 6f 75 20 6f |ame way |as you o|
|00000690| 72 69 67 69 6e 61 6c 6c | 79 20 69 6e 73 74 61 6c |riginall|y instal|
|000006a0| 6c 65 64 20 4e 53 20 42 | 41 53 49 43 2e 20 4f 6e |led NS B|ASIC. On|
|000006b0| 6c 79 20 69 6e 73 74 61 | 6c 6c 20 74 68 65 20 4e |ly insta|ll the N|
|000006c0| 53 42 41 53 49 43 2e 70 | 6b 67 20 66 69 6c 65 20 |SBASIC.p|kg file |
|000006d0| 69 6e 69 74 69 61 6c 6c | 79 2e 20 59 6f 75 20 77 |initiall|y. You w|
|000006e0| 69 6c 6c 20 6e 6f 74 20 | 6e 65 65 64 20 74 6f 20 |ill not |need to |
|000006f0| 72 65 65 6e 74 65 72 20 | 79 6f 75 72 20 53 65 72 |reenter |your Ser|
|00000700| 69 61 6c 20 4e 75 6d 62 | 65 72 2e 0d 54 68 65 20 |ial Numb|er..The |
|00000710| 69 6e 74 65 72 6e 61 6c | 20 53 41 56 45 20 66 6f |internal| SAVE fo|
|00000720| 72 6d 61 74 20 74 68 61 | 74 20 4e 53 20 42 41 53 |rmat tha|t NS BAS|
|00000730| 49 43 20 75 73 65 73 20 | 68 61 73 20 63 68 61 6e |IC uses |has chan|
|00000740| 67 65 64 20 77 69 74 68 | 20 74 68 65 20 6e 65 77 |ged with| the new|
|00000750| 20 72 65 76 2e 20 43 75 | 72 72 65 6e 74 20 70 72 | rev. Cu|rrent pr|
|00000760| 6f 67 72 61 6d 73 20 77 | 69 6c 6c 20 6e 6f 74 20 |ograms w|ill not |
|00000770| 72 75 6e 20 75 6e 74 69 | 6c 20 74 68 65 79 20 68 |run unti|l they h|
|00000780| 61 76 65 20 62 65 65 6e | 20 63 6f 6e 76 65 72 74 |ave been| convert|
|00000790| 65 64 2c 20 65 69 74 68 | 65 72 20 62 79 20 74 79 |ed, eith|er by ty|
|000007a0| 70 69 6e 67 20 45 4e 54 | 45 52 20 3c 70 72 6f 67 |ping ENT|ER <prog|
|000007b0| 72 61 6d 4e 61 6d 65 3e | 2e 62 61 73 20 61 6e 64 |ramName>|.bas and|
|000007c0| 20 74 68 65 6e 20 74 79 | 70 69 6e 67 20 52 45 50 | then ty|ping REP|
|000007d0| 4c 41 43 45 20 3c 70 72 | 6f 67 72 61 6d 4e 61 6d |LACE <pr|ogramNam|
|000007e0| 65 3e 2c 20 6f 72 20 62 | 79 20 75 73 69 6e 67 20 |e>, or b|y using |
|000007f0| 74 68 65 20 52 45 56 55 | 50 20 63 6f 6d 6d 61 6e |the REVU|P comman|
|00000800| 64 2e 0d 0d 0d 0d 0d 42 | 2e 20 44 6f 63 75 6d 65 |d......B|. Docume|
|00000810| 6e 74 61 74 69 6f 6e 20 | 43 68 61 6e 67 65 73 20 |ntation |Changes |
|00000820| 66 6f 72 20 32 2e 30 33 | 0d 0d 31 2e 20 44 72 61 |for 2.03|..1. Dra|
|00000830| 77 69 6e 67 0d 0d 4e 53 | 20 42 41 53 49 43 20 6e |wing..NS| BASIC n|
|00000840| 6f 77 20 73 75 70 70 6f | 72 74 73 20 64 72 61 77 |ow suppo|rts draw|
|00000850| 69 6e 67 20 63 6f 6d 6d | 61 6e 64 73 2e 20 44 72 |ing comm|ands. Dr|
|00000860| 61 77 69 6e 67 73 20 61 | 72 65 20 64 69 73 70 6c |awings a|re displ|
|00000870| 61 79 65 64 20 6f 6e 20 | 74 68 65 20 73 61 6d 65 |ayed on |the same|
|00000880| 20 77 69 6e 64 6f 77 73 | 20 61 73 20 61 72 65 20 | windows| as are |
|00000890| 63 75 72 72 65 6e 74 6c | 79 20 75 73 65 64 20 66 |currentl|y used f|
|000008a0| 6f 72 20 74 65 78 74 2e | 0d 0d 57 44 52 41 57 20 |or text.|..WDRAW |
|000008b0| 77 69 6e 64 6f 77 4e 75 | 6d 2c 20 73 68 61 70 65 |windowNu|m, shape|
|000008c0| 73 20 5b 2c 73 74 79 6c | 65 46 72 61 6d 65 5d 20 |s [,styl|eFrame] |
|000008d0| 20 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | . | |
|000008e0| 20 20 0d 57 69 6e 64 6f | 77 4e 75 6d 20 69 73 20 | .Windo|wNum is |
|000008f0| 74 68 65 20 77 69 6e 64 | 6f 77 20 6e 75 6d 62 65 |the wind|ow numbe|
|00000900| 72 20 61 73 20 63 72 65 | 61 74 65 64 20 69 6e 20 |r as cre|ated in |
|00000910| 61 20 57 49 4e 44 4f 57 | 20 63 6f 6d 6d 61 6e 64 |a WINDOW| command|
|00000920| 2e 0d 73 68 61 70 65 73 | 20 69 73 20 61 20 73 68 |..shapes| is a sh|
|00000930| 61 70 65 20 73 70 65 63 | 69 66 69 63 61 74 69 6f |ape spec|ificatio|
|00000940| 6e 20 28 6f 72 20 61 72 | 72 61 79 20 6f 66 20 73 |n (or ar|ray of s|
|00000950| 70 65 63 69 66 69 63 61 | 74 69 6f 6e 73 29 20 6d |pecifica|tions) m|
|00000960| 61 64 65 20 62 79 20 61 | 20 4d 41 4b 45 73 68 61 |ade by a| MAKEsha|
|00000970| 70 65 20 66 75 6e 63 74 | 69 6f 6e 20 28 53 65 65 |pe funct|ion (See|
|00000980| 20 62 65 6c 6f 77 29 0d | 0d 73 74 79 6c 65 46 72 | below).|.styleFr|
|00000990| 61 6d 65 20 69 73 20 61 | 6e 20 6f 70 74 69 6f 6e |ame is a|n option|
|000009a0| 61 6c 20 66 72 61 6d 65 | 20 63 6f 6e 74 61 69 6e |al frame| contain|
|000009b0| 69 6e 67 20 66 6f 72 6d | 61 74 74 69 6e 67 20 69 |ing form|atting i|
|000009c0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 66 6f 72 20 74 |nformati|on for t|
|000009d0| 68 65 20 73 68 61 70 65 | 20 74 6f 20 62 65 20 64 |he shape| to be d|
|000009e0| 69 73 70 6c 61 79 65 64 | 2e 20 49 66 20 74 68 69 |isplayed|. If thi|
|000009f0| 73 20 70 61 72 61 6d 65 | 74 65 72 20 69 73 20 6e |s parame|ter is n|
|00000a00| 6f 74 20 73 75 70 70 6c | 69 65 64 2c 20 64 65 66 |ot suppl|ied, def|
|00000a10| 61 75 6c 74 20 76 61 6c | 75 65 73 20 61 72 65 20 |ault val|ues are |
|00000a20| 75 73 65 64 2e 20 54 68 | 65 20 66 6f 6c 6c 6f 77 |used. Th|e follow|
|00000a30| 69 6e 67 20 65 6c 65 6d | 65 6e 74 73 20 63 61 6e |ing elem|ents can|
|00000a40| 20 62 65 20 69 6e 20 74 | 68 65 20 53 74 79 6c 65 | be in t|he Style|
|00000a50| 46 72 61 6d 65 20 66 72 | 61 6d 65 3a 0d 0d 73 74 |Frame fr|ame:..st|
|00000a60| 79 6c 65 46 72 61 6d 65 | 2e 70 65 6e 53 69 7a 65 |yleFrame|.penSize|
|00000a70| 0d 74 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 65 |.the siz|e of the|
|00000a80| 20 70 65 6e 20 69 6e 20 | 70 69 78 65 6c 73 2e 20 | pen in |pixels. |
|00000a90| 44 65 66 61 75 6c 74 20 | 69 73 20 6f 6e 65 2e 20 |Default |is one. |
|00000aa0| 41 6e 20 61 72 72 61 79 | 20 63 61 6e 20 61 6c 73 |An array| can als|
|00000ab0| 6f 20 62 65 20 73 70 65 | 63 69 66 69 65 64 20 73 |o be spe|cified s|
|00000ac0| 75 63 68 20 61 73 20 5b | 31 2c 32 5d 20 77 68 69 |uch as [|1,2] whi|
|00000ad0| 63 68 20 64 65 66 69 6e | 65 73 20 61 20 77 69 64 |ch defin|es a wid|
|00000ae0| 74 68 20 6f 66 20 31 20 | 61 6e 64 20 61 20 68 65 |th of 1 |and a he|
|00000af0| 69 67 68 74 20 6f 66 20 | 32 2e 0d 0d 73 74 79 6c |ight of |2...styl|
|00000b00| 65 46 72 61 6d 65 2e 70 | 65 6e 50 61 74 74 65 72 |eFrame.p|enPatter|
|00000b10| 6e 20 0d 64 65 66 69 6e | 65 73 20 74 68 65 20 70 |n .defin|es the p|
|00000b20| 65 6e 20 70 61 74 74 65 | 72 6e 2e 20 59 6f 75 20 |en patte|rn. You |
|00000b30| 63 61 6e 20 73 70 65 63 | 69 66 79 20 6f 6e 65 20 |can spec|ify one |
|00000b40| 6f 66 20 76 66 4e 6f 6e | 65 2c 20 76 66 57 68 69 |of vfNon|e, vfWhi|
|00000b50| 74 65 2c 20 76 66 4c 74 | 47 72 61 79 2c 20 76 66 |te, vfLt|Gray, vf|
|00000b60| 47 72 61 79 2c 20 76 66 | 44 6b 47 72 61 79 20 61 |Gray, vf|DkGray a|
|00000b70| 6e 64 20 76 66 42 6c 61 | 63 6b 2e 20 44 65 66 61 |nd vfBla|ck. Defa|
|00000b80| 75 6c 74 20 69 73 20 76 | 66 42 6c 61 63 6b 2e 0d |ult is v|fBlack..|
|00000b90| 0d 73 74 79 6c 65 46 72 | 61 6d 65 2e 66 69 6c 6c |.styleFr|ame.fill|
|00000ba0| 50 61 74 74 65 72 6e 20 | 0d 74 68 65 20 66 69 6c |Pattern |.the fil|
|00000bb0| 6c 20 70 61 74 74 65 72 | 6e 2e 20 59 6f 75 20 63 |l patter|n. You c|
|00000bc0| 61 6e 20 73 70 65 63 69 | 66 79 20 61 6e 79 20 6f |an speci|fy any o|
|00000bd0| 66 20 74 68 65 20 76 61 | 6c 75 65 73 20 69 6e 20 |f the va|lues in |
|00000be0| 70 65 6e 50 61 74 74 65 | 72 6e 2e 20 54 68 65 20 |penPatte|rn. The |
|00000bf0| 64 65 66 61 75 6c 74 20 | 69 73 20 76 66 4e 6f 6e |default |is vfNon|
|00000c00| 65 2e 0d 0d 73 74 79 6c | 65 46 72 61 6d 65 2e 76 |e...styl|eFrame.v|
|00000c10| 66 46 6f 6e 74 20 0d 74 | 68 65 20 66 6f 6e 74 20 |fFont .t|he font |
|00000c20| 74 6f 20 62 65 20 75 73 | 65 64 20 62 79 20 74 68 |to be us|ed by th|
|00000c30| 65 20 4d 41 4b 45 54 45 | 58 54 20 66 75 6e 63 74 |e MAKETE|XT funct|
|00000c40| 69 6f 6e 2e 20 44 65 66 | 61 75 6c 74 20 69 73 20 |ion. Def|ault is |
|00000c50| 74 68 65 20 75 73 65 72 | 27 73 20 64 65 66 61 75 |the user|'s defau|
|00000c60| 6c 74 20 66 6f 6e 74 2e | 0d 0d 73 74 79 6c 65 46 |lt font.|..styleF|
|00000c70| 72 61 6d 65 2e 6a 75 73 | 74 69 66 69 63 61 74 69 |rame.jus|tificati|
|00000c80| 6f 6e 0d 74 68 65 20 61 | 6c 69 67 6e 6d 65 6e 74 |on.the a|lignment|
|00000c90| 20 6f 66 20 74 68 65 20 | 74 65 78 74 20 69 6e 20 | of the |text in |
|00000ca0| 74 68 65 20 4d 41 4b 45 | 54 45 58 54 20 66 75 6e |the MAKE|TEXT fun|
|00000cb0| 63 74 69 6f 6e 2e 20 53 | 70 65 63 69 66 79 20 6f |ction. S|pecify o|
|00000cc0| 6e 65 20 6f 66 20 27 6c | 65 66 74 2c 20 27 72 69 |ne of 'l|eft, 'ri|
|00000cd0| 67 68 74 20 6f 72 20 27 | 63 65 6e 74 65 72 2e 20 |ght or '|center. |
|00000ce0| 44 65 66 61 75 6c 74 20 | 69 73 20 27 6c 65 66 74 |Default |is 'left|
|00000cf0| 2e 0d 0d 4d 41 4b 45 73 | 68 61 70 65 20 66 75 6e |...MAKEs|hape fun|
|00000d00| 63 74 69 6f 6e 73 0d 0d | 4d 41 4b 45 4c 49 4e 45 |ctions..|MAKELINE|
|00000d10| 28 58 31 2c 59 31 2c 58 | 32 2c 59 32 29 20 0d 72 |(X1,Y1,X|2,Y2) .r|
|00000d20| 65 74 75 72 6e 73 20 61 | 20 6c 69 6e 65 20 73 68 |eturns a| line sh|
|00000d30| 61 70 65 2e 20 41 6c 6c | 20 76 61 6c 75 65 73 20 |ape. All| values |
|00000d40| 69 6e 20 74 68 65 20 73 | 68 61 70 65 20 66 75 6e |in the s|hape fun|
|00000d50| 63 74 69 6f 6e 73 20 61 | 72 65 20 69 6e 20 70 69 |ctions a|re in pi|
|00000d60| 78 65 64 20 72 65 6c 61 | 74 69 76 65 20 74 6f 20 |xed rela|tive to |
|00000d70| 74 68 65 20 57 49 4e 44 | 4f 57 3a 20 74 68 65 20 |the WIND|OW: the |
|00000d80| 74 6f 70 20 6c 65 66 74 | 20 63 6f 72 6e 65 72 20 |top left| corner |
|00000d90| 69 73 20 30 2c 30 2e 0d | 0d 4d 41 4b 45 52 45 43 |is 0,0..|.MAKEREC|
|00000da0| 54 28 6c 65 66 74 2c 74 | 6f 70 2c 72 69 67 68 74 |T(left,t|op,right|
|00000db0| 2c 62 6f 74 74 6f 6d 29 | 20 0d 72 65 74 75 72 6e |,bottom)| .return|
|00000dc0| 73 20 61 20 72 65 63 74 | 61 6e 67 75 6c 61 72 20 |s a rect|angular |
|00000dd0| 73 68 61 70 65 2e 20 0d | 0d 4d 41 4b 45 52 4f 55 |shape. .|.MAKEROU|
|00000de0| 4e 44 52 45 43 54 28 6c | 65 66 74 2c 74 6f 70 2c |NDRECT(l|eft,top,|
|00000df0| 72 69 67 68 74 2c 62 6f | 74 74 6f 6d 2c 64 69 61 |right,bo|ttom,dia|
|00000e00| 6d 65 74 65 72 29 20 72 | 65 74 75 72 6e 73 20 61 |meter) r|eturns a|
|00000e10| 20 72 6f 75 6e 64 65 64 | 20 72 65 63 74 61 6e 67 | rounded| rectang|
|00000e20| 75 6c 61 72 20 73 68 61 | 70 65 2e 0d 0d 4d 41 4b |ular sha|pe...MAK|
|00000e30| 45 4f 56 41 4c 28 6c 65 | 66 74 2c 74 6f 70 2c 72 |EOVAL(le|ft,top,r|
|00000e40| 69 67 68 74 2c 62 6f 74 | 74 6f 6d 2c 64 69 61 6d |ight,bot|tom,diam|
|00000e50| 65 74 65 72 29 20 72 65 | 74 75 72 6e 73 20 61 6e |eter) re|turns an|
|00000e60| 20 6f 76 61 6c 20 73 68 | 61 70 65 2e 0d 0d 4d 41 | oval sh|ape...MA|
|00000e70| 4b 45 57 45 44 47 45 28 | 6c 65 66 74 2c 74 6f 70 |KEWEDGE(|left,top|
|00000e80| 2c 72 69 67 68 74 2c 62 | 6f 74 74 6f 6d 2c 73 74 |,right,b|ottom,st|
|00000e90| 61 72 74 41 6e 67 6c 65 | 2c 61 72 63 41 6e 67 6c |artAngle|,arcAngl|
|00000ea0| 65 29 20 72 65 74 75 72 | 6e 73 20 61 20 77 65 64 |e) retur|ns a wed|
|00000eb0| 67 65 20 73 68 61 70 65 | 2e 0d 0d 4d 41 4b 45 50 |ge shape|...MAKEP|
|00000ec0| 4f 4c 59 47 4f 4e 28 61 | 72 72 61 79 20 6f 66 20 |OLYGON(a|rray of |
|00000ed0| 5b 78 2c 79 5d 20 63 6f | 6f 72 64 69 6e 61 74 65 |[x,y] co|ordinate|
|00000ee0| 20 70 61 69 72 73 29 20 | 72 65 74 75 72 6e 73 20 | pairs) |returns |
|00000ef0| 61 20 70 6f 6c 79 67 6f | 6e 20 73 68 61 70 65 2e |a polygo|n shape.|
|00000f00| 0d 0d 4d 41 4b 45 54 45 | 58 54 28 73 74 72 69 6e |..MAKETE|XT(strin|
|00000f10| 67 2c 6c 65 66 74 2c 74 | 6f 70 2c 72 69 67 68 74 |g,left,t|op,right|
|00000f20| 2c 62 6f 74 74 6f 6d 29 | 20 0d 72 65 74 75 72 6e |,bottom)| .return|
|00000f30| 73 20 61 20 73 68 61 70 | 65 20 77 69 74 68 20 74 |s a shap|e with t|
|00000f40| 65 78 74 2e 0d 0d 45 78 | 61 6d 70 6c 65 3a 0d 30 |ext...Ex|ample:.0|
|00000f50| 30 31 30 20 72 65 6d 20 | 64 6f 20 64 72 61 77 69 |010 rem |do drawi|
|00000f60| 6e 67 0d 30 30 32 30 20 | 4c 45 54 20 78 3d 7b 76 |ng.0020 |LET x={v|
|00000f70| 69 65 77 42 6f 75 6e 64 | 73 3a 20 7b 6c 65 66 74 |iewBound|s: {left|
|00000f80| 3a 30 2c 20 72 69 67 68 | 74 3a 20 32 34 30 2c 20 |:0, righ|t: 240, |
|00000f90| 74 6f 70 3a 20 30 2c 20 | 62 6f 74 74 6f 6d 3a 31 |top: 0, |bottom:1|
|00000fa0| 35 30 7d 7d 0d 30 30 33 | 30 20 77 69 6e 64 6f 77 |50}}.003|0 window|
|00000fb0| 20 77 31 2c 78 0d 30 30 | 34 30 20 73 68 6f 77 20 | w1,x.00|40 show |
|00000fc0| 77 31 0d 30 30 35 30 20 | 77 70 72 69 6e 74 20 77 |w1.0050 |wprint w|
|00000fd0| 31 2c 22 67 72 61 70 68 | 69 63 73 22 0d 30 30 36 |1,"graph|ics".006|
|00000fe0| 30 20 77 64 72 61 77 20 | 77 31 2c 6d 61 6b 65 6f |0 wdraw |w1,makeo|
|00000ff0| 76 61 6c 28 31 30 2c 31 | 30 2c 32 30 2c 32 30 29 |val(10,1|0,20,20)|
|00001000| 2c 7b 70 65 6e 73 69 7a | 65 3a 20 33 7d 0d 30 30 |,{pensiz|e: 3}.00|
|00001010| 36 35 20 77 61 69 74 20 | 36 30 0d 30 30 37 30 20 |65 wait |60.0070 |
|00001020| 77 64 72 61 77 20 77 31 | 2c 6d 61 6b 65 6c 69 6e |wdraw w1|,makelin|
|00001030| 65 28 33 30 2c 33 30 2c | 31 30 30 2c 31 30 30 29 |e(30,30,|100,100)|
|00001040| 0d 30 30 37 35 20 77 61 | 69 74 20 36 30 0d 30 30 |.0075 wa|it 60.00|
|00001050| 38 30 20 77 64 72 61 77 | 20 77 31 2c 6d 61 6b 65 |80 wdraw| w1,make|
|00001060| 72 65 63 74 28 32 30 2c | 32 30 2c 34 30 2c 34 30 |rect(20,|20,40,40|
|00001070| 29 2c 7b 66 69 6c 6c 70 | 61 74 74 65 72 6e 3a 20 |),{fillp|attern: |
|00001080| 76 66 42 6c 61 63 6b 7d | 0d 30 30 38 35 20 77 61 |vfBlack}|.0085 wa|
|00001090| 69 74 20 36 30 0d 30 30 | 39 30 20 77 64 72 61 77 |it 60.00|90 wdraw|
|000010a0| 20 77 31 2c 6d 61 6b 65 | 57 65 64 67 65 28 32 30 | w1,make|Wedge(20|
|000010b0| 2c 32 30 2c 31 30 30 2c | 31 30 30 2c 34 35 2c 39 |,20,100,|100,45,9|
|000010c0| 30 29 0d 30 30 39 35 20 | 77 61 69 74 20 36 30 0d |0).0095 |wait 60.|
|000010d0| 30 31 30 30 20 77 64 72 | 61 77 20 77 31 2c 6d 61 |0100 wdr|aw w1,ma|
|000010e0| 6b 65 57 65 64 67 65 28 | 32 30 2c 32 30 2c 31 30 |keWedge(|20,20,10|
|000010f0| 30 2c 31 30 30 2c 34 35 | 2c 39 30 29 2c 20 7b 66 |0,100,45|,90), {f|
|00001100| 69 6c 6c 70 61 74 74 65 | 72 6e 3a 20 76 66 47 72 |illpatte|rn: vfGr|
|00001110| 61 79 7d 0d 30 31 30 35 | 20 77 61 69 74 20 36 30 |ay}.0105| wait 60|
|00001120| 0d 30 31 31 30 20 77 64 | 72 61 77 20 77 31 2c 6d |.0110 wd|raw w1,m|
|00001130| 61 6b 65 50 6f 6c 79 67 | 6f 6e 28 5b 31 30 2c 31 |akePolyg|on([10,1|
|00001140| 30 2c 31 30 2c 35 30 2c | 35 30 2c 35 30 2c 31 30 |0,10,50,|50,50,10|
|00001150| 2c 31 30 5d 29 0d 30 31 | 31 35 20 77 61 69 74 20 |,10]).01|15 wait |
|00001160| 36 30 0d 30 31 32 30 20 | 77 64 72 61 77 20 77 31 |60.0120 |wdraw w1|
|00001170| 2c 6d 61 6b 65 54 65 78 | 74 28 22 54 68 69 73 20 |,makeTex|t("This |
|00001180| 69 73 20 73 6f 6d 65 20 | 54 65 78 74 22 2c 31 30 |is some |Text",10|
|00001190| 2c 31 30 2c 31 35 30 2c | 31 32 30 29 0d 30 31 32 |,10,150,|120).012|
|000011a0| 35 20 77 61 69 74 20 36 | 30 0d 30 31 33 30 20 4c |5 wait 6|0.0130 L|
|000011b0| 45 54 20 73 68 61 70 65 | 3d 6d 61 6b 65 6f 76 61 |ET shape|=makeova|
|000011c0| 6c 28 31 30 2c 31 30 2c | 34 30 2c 34 30 29 0d 30 |l(10,10,|40,40).0|
|000011d0| 31 34 30 20 77 64 72 61 | 77 20 77 31 2c 73 68 61 |140 wdra|w w1,sha|
|000011e0| 70 65 0d 30 31 35 30 20 | 77 61 69 74 20 36 30 0d |pe.0150 |wait 60.|
|000011f0| 30 31 36 30 20 4c 45 54 | 20 73 68 61 70 65 73 3d |0160 LET| shapes=|
|00001200| 5b 6d 61 6b 65 6f 76 61 | 6c 28 31 30 2c 31 30 2c |[makeova|l(10,10,|
|00001210| 34 30 2c 34 30 29 2c 6d | 61 6b 65 54 65 78 74 28 |40,40),m|akeText(|
|00001220| 22 41 20 63 69 72 63 6c | 65 21 22 2c 31 30 2c 31 |"A circl|e!",10,1|
|00001230| 30 2c 31 35 30 2c 31 32 | 30 29 5d 0d 30 31 37 30 |0,150,12|0)].0170|
|00001240| 20 77 64 72 61 77 20 77 | 31 2c 73 68 61 70 65 73 | wdraw w|1,shapes|
|00001250| 0d 0d 54 68 65 20 64 72 | 61 77 69 6e 67 20 69 73 |..The dr|awing is|
|00001260| 20 70 6c 61 63 65 64 20 | 69 6e 20 74 68 65 20 77 | placed |in the w|
|00001270| 69 6e 64 6f 77 53 70 65 | 63 2e 64 72 61 77 69 6e |indowSpe|c.drawin|
|00001280| 67 20 73 6c 6f 74 2e 20 | 44 72 61 77 69 6e 67 73 |g slot. |Drawings|
|00001290| 20 63 61 6e 20 61 6c 73 | 6f 20 62 65 20 70 6c 61 | can als|o be pla|
|000012a0| 63 65 64 20 69 6e 20 74 | 68 65 20 77 69 6e 64 6f |ced in t|he windo|
|000012b0| 77 53 70 65 63 2e 64 72 | 61 77 69 6e 67 20 73 6c |wSpec.dr|awing sl|
|000012c0| 6f 74 20 62 65 66 6f 72 | 65 20 74 68 65 20 77 69 |ot befor|e the wi|
|000012d0| 6e 64 6f 77 20 69 73 20 | 63 72 65 61 74 65 64 2e |ndow is |created.|
|000012e0| 0d 0d 32 2e 20 43 6c 69 | 63 6b 20 50 6f 73 69 74 |..2. Cli|ck Posit|
|000012f0| 69 6f 6e 0d 0d 49 66 20 | 61 20 75 73 65 72 20 74 |ion..If |a user t|
|00001300| 61 70 73 20 6f 6e 20 61 | 20 62 75 74 74 6f 6e 2c |aps on a| button,|
|00001310| 20 74 68 65 20 63 6f 6f | 72 64 69 6e 61 74 65 73 | the coo|rdinates|
|00001320| 20 6f 66 20 74 68 65 20 | 63 6c 69 63 6b 20 70 6f | of the |click po|
|00001330| 73 69 74 69 6f 6e 20 61 | 72 65 20 6e 6f 77 20 72 |sition a|re now r|
|00001340| 65 74 75 72 6e 65 64 20 | 69 6e 20 74 68 65 20 77 |eturned |in the w|
|00001350| 69 6e 64 6f 77 53 70 65 | 63 20 66 72 61 6d 65 20 |indowSpe|c frame |
|00001360| 73 70 65 63 69 66 69 65 | 64 20 77 68 65 6e 20 74 |specifie|d when t|
|00001370| 68 65 20 77 69 6e 64 6f | 77 20 77 61 73 20 63 72 |he windo|w was cr|
|00001380| 65 61 74 65 64 2e 20 54 | 68 65 20 76 61 6c 75 65 |eated. T|he value|
|00001390| 73 20 61 72 65 20 69 6e | 20 74 68 65 20 74 68 65 |s are in| the the|
|000013a0| 20 76 61 72 69 61 62 6c | 65 73 20 77 69 6e 64 6f | variabl|es windo|
|000013b0| 77 53 70 65 63 2e 66 69 | 72 73 74 58 20 61 6e 64 |wSpec.fi|rstX and|
|000013c0| 20 77 69 6e 64 6f 77 53 | 70 65 63 2e 66 69 72 73 | windowS|pec.firs|
|000013d0| 74 59 2e 20 54 68 65 20 | 76 61 6c 75 65 73 20 61 |tY. The |values a|
|000013e0| 72 65 20 6c 6f 63 61 6c | 20 74 6f 20 74 68 65 20 |re local| to the |
|000013f0| 77 69 6e 64 6f 77 2e 0d | 0d 54 68 65 20 63 75 72 |window..|.The cur|
|00001400| 72 65 6e 74 20 76 61 6c | 75 65 20 6f 66 20 74 68 |rent val|ue of th|
|00001410| 65 20 74 65 78 74 20 69 | 6e 20 74 68 65 20 77 69 |e text i|n the wi|
|00001420| 6e 64 6f 77 20 69 73 20 | 61 6c 73 6f 20 72 65 74 |ndow is |also ret|
|00001430| 75 72 6e 65 64 20 69 6e | 20 77 69 6e 64 6f 77 53 |urned in| windowS|
|00001440| 70 65 63 2e 74 65 78 74 | 0d 0d 33 2e 20 48 49 54 |pec.text|..3. HIT|
|00001450| 53 48 41 50 45 28 73 68 | 61 70 65 2c 20 78 2c 79 |SHAPE(sh|ape, x,y|
|00001460| 29 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |) | |
|00001470| 20 20 20 20 09 46 75 6e | 63 74 69 6f 6e 0d 0d 54 | .Fun|ction..T|
|00001480| 68 69 73 20 6e 65 77 20 | 66 75 6e 63 74 69 6f 6e |his new |function|
|00001490| 20 72 65 74 75 72 6e 73 | 20 54 52 55 45 20 6f 72 | returns| TRUE or|
|000014a0| 20 4e 49 4c 20 64 65 70 | 65 6e 64 69 6e 67 20 6f | NIL dep|ending o|
|000014b0| 6e 20 77 68 65 74 68 65 | 72 20 28 78 2c 79 29 20 |n whethe|r (x,y) |
|000014c0| 66 61 6c 6c 73 20 77 69 | 74 68 69 6e 20 74 68 65 |falls wi|thin the|
|000014d0| 20 73 68 61 70 65 2e 20 | 78 20 61 6e 64 20 79 20 | shape. |x and y |
|000014e0| 61 72 65 20 62 6f 74 68 | 20 6c 6f 63 61 6c 20 63 |are both| local c|
|000014f0| 6f 6f 72 64 69 6e 61 74 | 65 73 2e 0d 30 30 31 30 |oordinat|es..0010|
|00001500| 20 72 65 6d 20 64 65 6d | 6f 6e 73 74 72 61 74 65 | rem dem|onstrate|
|00001510| 20 48 69 74 73 68 61 70 | 65 0d 30 30 31 35 20 4c | Hitshap|e.0015 L|
|00001520| 45 54 20 62 75 74 74 6f | 6e 3d 6d 61 6b 65 4f 76 |ET butto|n=makeOv|
|00001530| 61 6c 28 31 30 2c 31 30 | 2c 34 30 2c 34 30 29 0d |al(10,10|,40,40).|
|00001540| 30 30 32 30 20 4c 45 54 | 20 77 73 3d 7b 67 6f 74 |0020 LET| ws={got|
|00001550| 6f 3a 20 31 30 30 2c 20 | 64 72 61 77 69 6e 67 3a |o: 100, |drawing:|
|00001560| 20 62 75 74 74 6f 6e 7d | 0d 30 30 33 30 20 77 69 | button}|.0030 wi|
|00001570| 6e 64 6f 77 20 77 31 2c | 77 73 0d 30 30 35 30 20 |ndow w1,|ws.0050 |
|00001580| 73 68 6f 77 20 77 31 0d | 30 30 36 30 20 66 6f 72 |show w1.|0060 for|
|00001590| 20 69 3d 31 20 74 6f 20 | 35 0d 30 30 37 30 20 20 | i=1 to |5.0070 |
|000015a0| 20 77 61 69 74 0d 30 30 | 38 30 20 6e 65 78 74 20 | wait.00|80 next |
|000015b0| 69 0d 30 30 39 30 20 73 | 74 6f 70 0d 30 31 30 30 |i.0090 s|top.0100|
|000015c0| 20 72 65 6d 20 6f 6e 20 | 63 6c 69 63 6b 0d 30 31 | rem on |click.01|
|000015d0| 31 30 20 70 72 69 6e 74 | 20 68 69 74 73 68 61 70 |10 print| hitshap|
|000015e0| 65 28 62 75 74 74 6f 6e | 2c 20 77 73 2e 66 69 72 |e(button|, ws.fir|
|000015f0| 73 74 58 2c 20 77 73 2e | 66 69 72 73 74 59 29 0d |stX, ws.|firstY).|
|00001600| 0d 34 2e 20 45 4e 56 49 | 52 4f 4e 20 50 52 49 4e |.4. ENVI|RON PRIN|
|00001610| 54 44 45 50 54 48 0d 0d | 54 68 69 73 20 6e 65 77 |TDEPTH..|This new|
|00001620| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 20 76 61 72 | environ|ment var|
|00001630| 69 61 62 6c 65 20 6c 69 | 6d 69 74 73 20 74 68 65 |iable li|mits the|
|00001640| 20 64 65 70 74 68 20 74 | 6f 20 77 68 69 63 68 20 | depth t|o which |
|00001650| 63 6f 6d 70 6c 65 78 20 | 73 74 72 75 63 74 75 72 |complex |structur|
|00001660| 65 73 20 61 72 65 20 64 | 69 73 70 6c 61 79 65 64 |es are d|isplayed|
|00001670| 20 69 6e 20 61 20 50 52 | 49 4e 54 20 63 6f 6d 6d | in a PR|INT comm|
|00001680| 61 6e 64 2e 20 54 68 65 | 20 64 65 66 61 75 6c 74 |and. The| default|
|00001690| 20 69 73 20 31 2e 20 56 | 61 6c 69 64 20 76 61 6c | is 1. V|alid val|
|000016a0| 75 65 73 20 61 72 65 20 | 66 72 6f 6d 20 30 20 74 |ues are |from 0 t|
|000016b0| 6f 20 61 6e 79 20 6e 75 | 6d 62 65 72 2e 20 54 68 |o any nu|mber. Th|
|000016c0| 65 20 50 52 49 4e 54 20 | 63 6f 6d 6d 61 6e 64 20 |e PRINT |command |
|000016d0| 68 61 73 20 61 6c 73 6f | 20 62 65 65 6e 20 65 6e |has also| been en|
|000016e0| 68 61 6e 63 65 64 20 74 | 6f 20 67 69 76 65 20 62 |hanced t|o give b|
|000016f0| 65 74 74 65 72 20 69 6e | 66 6f 72 6d 61 74 69 6f |etter in|formatio|
|00001700| 6e 20 6f 6e 20 6f 62 6a | 65 63 74 73 2e 0d 0d 35 |n on obj|ects...5|
|00001710| 2e 20 47 4f 53 55 42 20 | 53 6c 6f 74 20 69 6e 20 |. GOSUB |Slot in |
|00001720| 57 49 4e 44 4f 57 53 0d | 0d 41 20 47 4f 53 55 42 |WINDOWS.|.A GOSUB|
|00001730| 20 73 6c 6f 74 20 63 61 | 6e 20 62 65 20 73 75 70 | slot ca|n be sup|
|00001740| 70 6c 69 65 64 20 74 6f | 20 74 68 65 20 77 69 6e |plied to| the win|
|00001750| 64 6f 77 53 70 65 63 20 | 61 72 67 75 6d 65 6e 74 |dowSpec |argument|
|00001760| 20 69 6e 20 61 20 57 49 | 4e 44 4f 57 20 63 6f 6d | in a WI|NDOW com|
|00001770| 6d 61 6e 64 2e 20 57 68 | 65 6e 20 74 68 65 20 57 |mand. Wh|en the W|
|00001780| 49 4e 44 4f 57 20 69 73 | 20 74 61 70 70 65 64 2c |INDOW is| tapped,|
|00001790| 20 61 20 47 4f 53 55 42 | 20 69 73 20 65 78 65 63 | a GOSUB| is exec|
|000017a0| 75 74 65 64 20 74 6f 20 | 74 68 65 20 6c 69 6e 65 |uted to |the line|
|000017b0| 20 6e 75 6d 62 65 72 20 | 73 70 65 63 69 66 69 65 | number |specifie|
|000017c0| 64 2e 20 55 70 6f 6e 20 | 74 68 65 20 6e 65 78 74 |d. Upon |the next|
|000017d0| 20 52 45 54 55 52 4e 20 | 73 74 61 74 65 6d 65 6e | RETURN |statemen|
|000017e0| 74 2c 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 65 |t, the p|rogram e|
|000017f0| 78 65 63 75 74 65 73 20 | 74 68 65 20 6c 69 6e 65 |xecutes |the line|
|00001800| 20 6e 75 6d 62 65 72 20 | 61 66 74 65 72 20 74 68 | number |after th|
|00001810| 65 20 57 41 49 54 20 63 | 6f 6d 6d 61 6e 64 20 74 |e WAIT c|ommand t|
|00001820| 68 61 74 20 77 61 73 20 | 65 78 65 63 75 74 69 6e |hat was |executin|
|00001830| 67 20 77 68 65 6e 20 74 | 68 65 20 77 69 6e 64 6f |g when t|he windo|
|00001840| 77 20 77 61 73 20 74 61 | 70 70 65 64 2e 0d 0d 36 |w was ta|pped...6|
|00001850| 2e 20 45 52 41 53 45 20 | 66 72 6f 6d 4c 69 6e 65 |. ERASE |fromLine|
|00001860| 2c 74 6f 4c 69 6e 65 20 | 20 20 20 20 20 20 20 20 |,toLine | |
|00001870| 20 20 20 20 20 20 20 20 | 20 09 73 74 61 74 65 6d | | .statem|
|00001880| 65 6e 74 0d 0d 54 68 69 | 73 20 6e 65 77 20 73 74 |ent..Thi|s new st|
|00001890| 61 74 65 6d 65 6e 74 20 | 61 6c 6c 6f 77 73 20 79 |atement |allows y|
|000018a0| 6f 75 20 74 6f 20 64 65 | 6c 65 74 65 20 61 20 72 |ou to de|lete a r|
|000018b0| 61 6e 67 65 20 6f 66 20 | 6c 69 6e 65 20 6e 75 6d |ange of |line num|
|000018c0| 62 65 72 73 2e 20 49 74 | 20 63 61 6e 20 61 6c 73 |bers. It| can als|
|000018d0| 6f 20 62 65 20 75 73 65 | 64 20 61 73 20 61 20 70 |o be use|d as a p|
|000018e0| 72 6f 67 72 61 6d 73 74 | 61 74 65 6d 65 6e 74 2c |rogramst|atement,|
|000018f0| 20 62 75 74 20 63 61 6e | 6e 6f 74 20 65 72 61 73 | but can|not eras|
|00001900| 65 20 69 74 73 65 6c 66 | 2e 0d 0d 37 2e 20 56 41 |e itself|...7. VA|
|00001910| 52 53 20 09 09 09 09 63 | 6f 6d 6d 61 6e 64 0d 0d |RS ....c|ommand..|
|00001920| 54 68 65 20 56 41 52 53 | 20 63 6f 6d 6d 61 6e 64 |The VARS| command|
|00001930| 20 6e 6f 77 20 73 68 6f | 77 73 20 74 68 65 20 63 | now sho|ws the c|
|00001940| 6f 6e 74 65 6e 74 73 20 | 6f 66 20 74 68 65 20 47 |ontents |of the G|
|00001950| 4f 53 55 42 20 73 74 61 | 63 6b 2e 0d 0d 38 2e 20 |OSUB sta|ck...8. |
|00001960| 4e 65 77 20 69 6e 74 65 | 72 6e 61 6c 20 70 72 6f |New inte|rnal pro|
|00001970| 67 72 61 6d 20 73 74 6f | 72 61 67 65 20 6d 65 74 |gram sto|rage met|
|00001980| 68 6f 64 0d 0d 54 68 65 | 20 6d 65 74 68 6f 64 20 |hod..The| method |
|00001990| 75 73 65 64 20 74 6f 20 | 73 61 76 65 20 6c 69 6e |used to |save lin|
|000019a0| 65 73 20 68 61 73 20 62 | 65 65 6e 20 69 6d 70 72 |es has b|een impr|
|000019b0| 6f 76 65 64 2e 20 50 72 | 65 76 69 6f 75 73 20 76 |oved. Pr|evious v|
|000019c0| 65 72 73 69 6f 6e 73 20 | 77 6f 75 6c 64 20 73 6c |ersions |would sl|
|000019d0| 6f 77 20 64 6f 77 6e 20 | 69 6e 73 65 72 74 69 6e |ow down |insertin|
|000019e0| 67 20 6e 65 77 20 6c 69 | 6e 65 73 20 69 6e 74 6f |g new li|nes into|
|000019f0| 20 6c 61 72 67 65 20 70 | 72 6f 67 72 61 6d 73 2e | large p|rograms.|
|00001a00| 20 54 68 65 20 73 70 65 | 65 64 20 20 73 68 6f 75 | The spe|ed shou|
|00001a10| 6c 64 20 72 65 6d 61 69 | 6e 20 61 62 6f 75 74 20 |ld remai|n about |
|00001a20| 74 68 65 20 73 61 6d 65 | 20 61 73 20 74 68 65 70 |the same| as thep|
|00001a30| 72 6f 67 72 61 6d 67 65 | 74 73 20 6c 61 72 67 65 |rogramge|ts large|
|00001a40| 72 2e 0d 0d 39 2e 20 57 | 49 4e 44 4f 57 20 4f 42 |r...9. W|INDOW OB|
|00001a50| 4a 45 43 54 53 0d 0d 41 | 20 74 68 69 72 64 20 70 |JECTS..A| third p|
|00001a60| 61 72 61 6d 65 74 65 72 | 20 68 61 73 20 62 65 65 |arameter| has bee|
|00001a70| 6e 20 61 64 64 65 64 20 | 74 6f 20 74 68 65 20 57 |n added |to the W|
|00001a80| 49 4e 44 4f 57 20 73 74 | 61 74 65 6d 65 6e 74 2e |INDOW st|atement.|
|00001a90| 20 54 68 65 20 67 65 6e | 65 72 61 6c 20 66 6f 72 | The gen|eral for|
|00001aa0| 6d 61 74 20 6f 66 20 74 | 68 65 20 73 74 61 74 65 |mat of t|he state|
|00001ab0| 6d 65 6e 74 20 69 73 0d | 0d 57 49 4e 44 4f 57 20 |ment is.|.WINDOW |
|00001ac0| 77 69 6e 6e 75 6d 2c 5b | 2c 77 69 6e 64 6f 77 73 |winnum,[|,windows|
|00001ad0| 70 65 63 5b 2c 77 69 6e | 64 6f 77 4f 62 6a 65 63 |pec[,win|dowObjec|
|00001ae0| 74 5d 0d 0d 41 20 77 69 | 6e 64 6f 77 4f 62 6a 65 |t]..A wi|ndowObje|
|00001af0| 63 74 20 69 73 20 61 20 | 62 75 69 6c 74 20 69 6e |ct is a |built in|
|00001b00| 20 64 65 73 63 72 69 70 | 74 69 6f 6e 20 6f 66 20 | descrip|tion of |
|00001b10| 61 6e 20 6f 62 6a 65 63 | 74 20 74 68 61 74 20 69 |an objec|t that i|
|00001b20| 73 20 64 69 73 70 6c 61 | 79 65 64 20 6f 6e 20 74 |s displa|yed on t|
|00001b30| 68 65 20 73 63 72 65 65 | 6e 2e 20 54 68 65 72 65 |he scree|n. There|
|00001b40| 20 61 72 65 20 64 65 66 | 61 75 6c 74 73 20 66 6f | are def|aults fo|
|00001b50| 72 20 65 61 63 68 20 6f | 62 6a 65 63 74 20 73 6f |r each o|bject so|
|00001b60| 20 74 68 61 74 20 69 74 | 20 63 61 6e 20 62 65 20 | that it| can be |
|00001b70| 64 69 73 70 6c 61 79 65 | 64 20 73 69 6d 70 6c 79 |displaye|d simply|
|00001b80| 20 62 79 20 65 78 65 63 | 75 74 69 6e 67 20 61 20 | by exec|uting a |
|00001b90| 57 49 4e 44 4f 57 20 61 | 6e 64 20 61 20 53 48 4f |WINDOW a|nd a SHO|
|00001ba0| 57 20 63 6f 6d 6d 61 6e | 64 2e 20 45 61 63 68 20 |W comman|d. Each |
|00001bb0| 6f 6e 65 20 68 61 73 20 | 61 20 6e 75 6d 62 65 72 |one has |a number|
|00001bc0| 20 6f 66 20 76 61 6c 75 | 65 73 20 77 69 74 68 69 | of valu|es withi|
|00001bd0| 6e 20 77 69 6e 64 6f 77 | 73 70 65 63 20 74 68 61 |n window|spec tha|
|00001be0| 74 20 63 61 6e 20 62 65 | 20 6d 6f 64 69 66 69 65 |t can be| modifie|
|00001bf0| 64 20 74 6f 20 63 75 73 | 74 6f 6d 69 7a 65 20 74 |d to cus|tomize t|
|00001c00| 68 65 20 62 65 68 61 76 | 69 6f 72 20 6f 66 20 74 |he behav|ior of t|
|00001c10| 68 65 20 6f 62 6a 65 63 | 74 20 74 6f 20 79 6f 75 |he objec|t to you|
|00001c20| 72 20 6e 65 65 64 73 2e | 0d 0d 45 78 61 6d 70 6c |r needs.|..Exampl|
|00001c30| 65 3a 0d 30 30 31 30 20 | 72 65 6d 20 77 69 6e 64 |e:.0010 |rem wind|
|00001c40| 6f 77 20 73 74 75 66 66 | 0d 30 30 31 31 20 63 6c |ow stuff|.0011 cl|
|00001c50| 73 0d 30 30 32 30 20 77 | 69 6e 64 6f 77 20 77 31 |s.0020 w|indow w1|
|00001c60| 2c 77 73 31 2c 22 73 6c | 69 64 65 72 22 0d 30 30 |,ws1,"sl|ider".00|
|00001c70| 32 31 20 73 68 6f 77 20 | 77 31 0d 30 30 33 30 20 |21 show |w1.0030 |
|00001c80| 77 69 6e 64 6f 77 20 77 | 32 2c 77 73 32 2c 22 63 |window w|2,ws2,"c|
|00001c90| 68 65 63 6b 62 6f 78 22 | 0d 30 30 33 31 20 73 68 |heckbox"|.0031 sh|
|00001ca0| 6f 77 20 77 32 0d 30 30 | 34 30 20 77 69 6e 64 6f |ow w2.00|40 windo|
|00001cb0| 77 20 77 33 2c 77 73 33 | 2c 22 52 63 68 65 63 6b |w w3,ws3|,"Rcheck|
|00001cc0| 62 6f 78 22 0d 30 30 34 | 31 20 73 68 6f 77 20 77 |box".004|1 show w|
|00001cd0| 33 0d 30 30 37 30 20 77 | 69 6e 64 6f 77 20 77 36 |3.0070 w|indow w6|
|00001ce0| 2c 77 73 36 2c 22 67 6c | 61 6e 63 65 22 0d 30 30 |,ws6,"gl|ance".00|
|00001cf0| 37 31 20 73 68 6f 77 20 | 77 36 0d 30 30 38 30 20 |71 show |w6.0080 |
|00001d00| 77 69 6e 64 6f 77 20 77 | 37 2c 77 73 37 2c 22 6c |window w|7,ws7,"l|
|00001d10| 61 62 65 6c 70 69 63 6b | 65 72 22 0d 30 30 38 31 |abelpick|er".0081|
|00001d20| 20 73 68 6f 77 20 77 37 | 0d 30 30 39 30 20 77 69 | show w7|.0090 wi|
|00001d30| 6e 64 6f 77 20 77 38 2c | 77 73 38 2c 22 70 69 63 |ndow w8,|ws8,"pic|
|00001d40| 6b 65 72 22 0d 30 30 39 | 31 20 73 68 6f 77 20 77 |ker".009|1 show w|
|00001d50| 38 0d 30 31 30 30 20 77 | 69 6e 64 6f 77 20 77 39 |8.0100 w|indow w9|
|00001d60| 2c 77 73 39 2c 22 73 65 | 74 63 6c 6f 63 6b 22 0d |,ws9,"se|tclock".|
|00001d70| 30 31 30 31 20 73 68 6f | 77 20 77 39 0d 30 31 31 |0101 sho|w w9.011|
|00001d80| 30 20 77 69 6e 64 6f 77 | 20 77 31 30 2c 77 73 31 |0 window| w10,ws1|
|00001d90| 30 2c 22 4d 6f 6e 74 68 | 22 0d 30 31 31 31 20 73 |0,"Month|".0111 s|
|00001da0| 68 6f 77 20 77 31 30 0d | 0d 0d 0d 0d 0d 0d 0d 57 |how w10.|.......W|
|00001db0| 49 4e 44 4f 57 20 77 2c | 77 53 70 65 63 2c 22 43 |INDOW w,|wSpec,"C|
|00001dc0| 48 45 43 4b 42 4f 58 22 | 0d 57 49 4e 44 4f 57 20 |HECKBOX"|.WINDOW |
|00001dd0| 77 2c 77 53 70 65 63 2c | 22 52 43 48 45 43 4b 42 |w,wSpec,|"RCHECKB|
|00001de0| 4f 58 22 0d 0d 43 48 45 | 43 4b 42 4f 58 20 69 73 |OX"..CHE|CKBOX is|
|00001df0| 20 61 20 77 69 6e 64 6f | 77 20 6f 62 6a 65 63 74 | a windo|w object|
|00001e00| 20 74 68 61 74 20 70 75 | 74 73 20 61 20 63 68 65 | that pu|ts a che|
|00001e10| 63 6b 62 6f 78 20 6f 6e | 20 74 68 65 20 73 63 72 |ckbox on| the scr|
|00001e20| 65 65 6e 2e 20 49 74 20 | 72 65 74 75 72 6e 73 20 |een. It |returns |
|00001e30| 65 69 74 68 65 72 20 54 | 52 55 45 20 6f 72 20 4e |either T|RUE or N|
|00001e40| 49 4c 20 69 6e 20 77 32 | 73 70 65 63 2e 76 69 65 |IL in w2|spec.vie|
|00001e50| 77 56 61 6c 75 65 2e 20 | 52 63 68 65 63 6b 42 6f |wValue. |RcheckBo|
|00001e60| 78 20 69 73 20 74 68 65 | 20 69 64 65 6e 74 69 63 |x is the| identic|
|00001e70| 61 6c 20 74 6f 20 43 68 | 65 63 6b 42 6f 78 2c 20 |al to Ch|eckBox, |
|00001e80| 65 78 63 65 70 74 20 74 | 68 65 20 62 6f 78 20 69 |except t|he box i|
|00001e90| 73 20 70 75 74 20 74 6f | 20 74 68 65 20 72 69 67 |s put to| the rig|
|00001ea0| 68 74 20 6f 66 20 74 68 | 65 20 74 65 78 74 2e 0d |ht of th|e text..|
|00001eb0| 0d 53 70 65 63 69 61 6c | 20 53 6c 6f 74 73 3a 0d |.Special| Slots:.|
|00001ec0| 0d 57 53 70 65 63 2e 76 | 69 65 77 56 61 6c 75 65 |.WSpec.v|iewValue|
|00001ed0| 20 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 63 75 | contain|s the cu|
|00001ee0| 72 72 65 6e 74 20 76 61 | 6c 75 65 2e 20 53 65 74 |rrent va|lue. Set|
|00001ef0| 20 74 68 69 73 20 62 65 | 66 6f 72 65 20 69 73 73 | this be|fore iss|
|00001f00| 75 69 6e 67 20 74 68 65 | 20 57 49 4e 44 4f 57 20 |uing the| WINDOW |
|00001f10| 63 6f 6d 6d 61 6e 64 20 | 74 6f 20 61 20 74 68 65 |command |to a the|
|00001f20| 20 76 61 6c 75 65 20 79 | 6f 75 20 77 61 6e 74 2e | value y|ou want.|
|00001f30| 20 54 68 65 20 64 65 66 | 61 75 6c 74 20 69 73 20 | The def|ault is |
|00001f40| 4e 49 4c 2e 0d 0d 57 53 | 70 65 63 2e 74 65 78 74 |NIL...WS|pec.text|
|00001f50| 20 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 74 69 | contain|s the ti|
|00001f60| 74 6c 65 20 66 6f 72 20 | 74 68 65 20 63 68 65 63 |tle for |the chec|
|00001f70| 6b 62 6f 78 0d 0d 4f 74 | 68 65 72 20 53 6c 6f 74 |kbox..Ot|her Slot|
|00001f80| 73 3a 20 76 69 65 77 42 | 6f 75 6e 64 73 2c 20 56 |s: viewB|ounds, V|
|00001f90| 69 65 77 46 6f 6e 74 2c | 20 47 4f 54 4f 2c 20 47 |iewFont,| GOTO, G|
|00001fa0| 4f 53 55 42 2c 20 76 69 | 65 77 46 6f 72 6d 61 74 |OSUB, vi|ewFormat|
|00001fb0| 0d 0d 43 68 65 63 6b 62 | 6f 78 20 61 6c 73 6f 20 |..Checkb|ox also |
|00001fc0| 68 61 73 20 61 20 73 70 | 65 63 69 61 6c 20 66 75 |has a sp|ecial fu|
|00001fd0| 6e 63 74 69 6f 6e 20 74 | 6f 20 63 68 61 6e 67 65 |nction t|o change|
|00001fe0| 20 69 74 73 20 76 61 6c | 75 65 20 66 72 6f 6d 20 | its val|ue from |
|00001ff0| 77 69 74 68 69 6e 20 61 | 20 70 72 6f 67 72 61 6d |within a| program|
|00002000| 2e 20 54 68 65 20 66 75 | 6e 63 74 69 6f 6e 20 20 |. The fu|nction |
|00002010| 75 2e 77 73 70 65 63 3a | 74 6f 67 67 6c 65 43 68 |u.wspec:|toggleCh|
|00002020| 65 63 6b 28 29 20 77 69 | 6c 6c 20 63 68 61 6e 67 |eck() wi|ll chang|
|00002030| 65 20 74 68 65 20 76 61 | 6c 75 65 2e 0d 0d 0d 57 |e the va|lue....W|
|00002040| 49 4e 44 4f 57 20 77 31 | 2c 77 31 73 70 65 63 2c |INDOW w1|,w1spec,|
|00002050| 22 44 52 41 57 22 0d 0d | 44 52 41 57 20 69 73 20 |"DRAW"..|DRAW is |
|00002060| 61 20 77 69 6e 64 6f 77 | 20 6f 62 6a 65 63 74 20 |a window| object |
|00002070| 74 68 61 74 20 67 72 61 | 70 68 69 63 20 73 68 61 |that gra|phic sha|
|00002080| 70 65 73 20 74 6f 20 62 | 65 20 65 6e 74 65 72 65 |pes to b|e entere|
|00002090| 64 2e 20 49 74 20 61 63 | 63 65 70 74 73 20 61 6e |d. It ac|cepts an|
|000020a0| 79 20 6b 69 6e 64 20 6f | 66 20 64 72 61 77 69 6e |y kind o|f drawin|
|000020b0| 67 2c 20 61 6e 64 20 72 | 65 74 75 72 6e 73 20 74 |g, and r|eturns t|
|000020c0| 68 65 20 73 68 61 70 65 | 73 20 69 6e 20 66 72 61 |he shape|s in fra|
|000020d0| 6d 65 73 20 74 68 61 74 | 20 61 72 65 20 69 6e 20 |mes that| are in |
|000020e0| 74 68 65 20 74 68 65 20 | 61 72 72 61 79 20 77 31 |the the |array w1|
|000020f0| 53 70 65 63 2e 76 69 65 | 77 43 68 69 6c 64 72 65 |Spec.vie|wChildre|
|00002100| 6e 2e 20 59 6f 75 20 63 | 61 6e 20 64 69 73 70 6c |n. You c|an displ|
|00002110| 61 79 20 74 68 65 73 65 | 20 73 68 61 70 65 73 20 |ay these| shapes |
|00002120| 62 79 20 75 73 69 6e 67 | 20 74 68 65 20 4d 41 4b |by using| the MAK|
|00002130| 45 53 48 41 50 45 28 70 | 6f 69 6e 74 73 29 20 66 |ESHAPE(p|oints) f|
|00002140| 75 6e 63 74 69 6f 6e 20 | 74 6f 20 74 75 72 6e 20 |unction |to turn |
|00002150| 74 68 65 6d 20 69 6e 74 | 6f 20 6f 72 64 69 6e 61 |them int|o ordina|
|00002160| 72 79 20 64 72 61 77 69 | 6e 67 20 6f 62 6a 65 63 |ry drawi|ng objec|
|00002170| 74 73 2e 20 0d 0d 41 6e | 6f 74 68 65 72 20 75 73 |ts. ..An|other us|
|00002180| 65 66 75 6c 20 66 75 6e | 63 74 69 6f 6e 20 69 73 |eful fun|ction is|
|00002190| 20 50 4f 49 4e 54 53 54 | 4f 41 52 52 41 59 28 70 | POINTST|OARRAY(p|
|000021a0| 6f 69 6e 74 73 29 20 77 | 68 69 63 68 20 74 72 61 |oints) w|hich tra|
|000021b0| 6e 73 66 6f 72 6d 73 20 | 74 68 65 20 6f 75 74 70 |nsforms |the outp|
|000021c0| 75 74 20 66 72 6f 6d 20 | 74 68 65 20 44 52 41 57 |ut from |the DRAW|
|000021d0| 20 77 69 6e 64 6f 77 20 | 69 6e 74 6f 20 61 6e 20 | window |into an |
|000021e0| 61 72 72 61 79 2e 20 54 | 68 65 20 66 69 72 73 74 |array. T|he first|
|000021f0| 20 76 61 6c 75 65 20 69 | 73 20 74 68 65 20 74 79 | value i|s the ty|
|00002200| 70 65 20 6f 66 20 73 68 | 61 70 65 20 28 30 3d 63 |pe of sh|ape (0=c|
|00002210| 69 72 63 6c 65 2c 20 65 | 74 63 29 2c 20 74 68 65 |ircle, e|tc), the|
|00002220| 20 73 65 63 6f 6e 64 20 | 69 73 20 74 68 65 20 6e | second |is the n|
|00002230| 75 6d 62 65 72 20 6f 66 | 20 70 6f 69 6e 74 73 20 |umber of| points |
|00002240| 61 6e 64 20 74 68 65 20 | 72 65 73 74 20 61 72 65 |and the |rest are|
|00002250| 7f 28 78 2c 79 29 20 70 | 61 69 72 73 20 64 65 73 |.(x,y) p|airs des|
|00002260| 63 72 69 62 69 6e 67 20 | 74 68 65 20 73 68 61 70 |cribing |the shap|
|00002270| 65 2e 20 54 68 65 72 65 | 20 69 73 20 61 6c 73 6f |e. There| is also|
|00002280| 20 61 6e 20 41 52 52 41 | 59 54 4f 50 4f 49 4e 54 | an ARRA|YTOPOINT|
|00002290| 53 28 61 72 72 61 79 29 | 20 66 75 6e 63 74 69 6f |S(array)| functio|
|000022a0| 6e 20 74 6f 20 64 6f 20 | 74 68 65 20 72 65 76 65 |n to do |the reve|
|000022b0| 72 73 65 2e 0d 0d 53 70 | 65 63 69 61 6c 20 53 6c |rse...Sp|ecial Sl|
|000022c0| 6f 74 73 3a 0d 0d 77 53 | 70 65 63 2e 76 69 65 77 |ots:..wS|pec.view|
|000022d0| 43 68 69 6c 64 72 65 6e | 20 0d 63 6f 6e 74 61 69 |Children| .contai|
|000022e0| 6e 73 20 61 6e 20 61 72 | 72 61 79 20 6f 66 20 66 |ns an ar|ray of f|
|000022f0| 72 61 6d 65 73 20 64 65 | 73 63 72 69 62 69 6e 67 |rames de|scribing|
|00002300| 20 77 68 61 74 20 77 61 | 73 20 64 72 61 77 6e 0d | what wa|s drawn.|
|00002310| 0d 77 53 70 65 63 2e 76 | 69 65 77 43 68 69 6c 64 |.wSpec.v|iewChild|
|00002320| 72 65 6e 5b 6e 5d 2e 76 | 69 65 77 42 6f 75 6e 64 |ren[n].v|iewBound|
|00002330| 73 20 0d 68 61 73 20 74 | 68 65 20 76 69 65 77 20 |s .has t|he view |
|00002340| 62 6f 75 6e 64 73 20 6f | 66 20 74 68 65 20 6e 74 |bounds o|f the nt|
|00002350| 68 20 73 68 61 70 65 20 | 64 72 61 77 6e 0d 0d 77 |h shape |drawn..w|
|00002360| 53 70 65 63 2e 76 69 65 | 77 43 68 69 6c 64 72 65 |Spec.vie|wChildre|
|00002370| 6e 5b 6e 5d 2e 70 6f 69 | 6e 74 73 20 0d 68 61 73 |n[n].poi|nts .has|
|00002380| 20 74 68 65 20 70 6f 69 | 6e 74 73 20 63 6f 6e 73 | the poi|nts cons|
|00002390| 74 72 75 63 74 20 6f 66 | 20 74 68 65 20 6e 74 68 |truct of| the nth|
|000023a0| 20 73 68 61 70 65 20 64 | 72 61 77 6e 0d 0d 4f 74 | shape d|rawn..Ot|
|000023b0| 68 65 72 20 53 6c 6f 74 | 73 3a 20 0d 0d 76 69 65 |her Slot|s: ..vie|
|000023c0| 77 42 6f 75 6e 64 73 2c | 20 76 69 65 77 46 6f 72 |wBounds,| viewFor|
|000023d0| 6d 61 74 0d 0d 30 31 30 | 30 20 77 69 6e 64 6f 77 |mat..010|0 window|
|000023e0| 20 77 2c 77 73 2c 22 64 | 72 61 77 22 0d 30 31 31 | w,ws,"d|raw".011|
|000023f0| 30 20 73 68 6f 77 20 77 | 0d 30 31 32 30 20 77 61 |0 show w|.0120 wa|
|00002400| 69 74 20 33 30 30 0d 30 | 31 32 35 20 69 66 20 6c |it 300.0|125 if l|
|00002410| 65 6e 67 74 68 28 77 73 | 2e 76 69 65 77 63 68 69 |ength(ws|.viewchi|
|00002420| 6c 64 72 65 6e 29 3d 30 | 20 74 68 65 6e 20 67 6f |ldren)=0| then go|
|00002430| 74 6f 20 31 32 30 0d 30 | 31 33 30 20 4c 45 54 20 |to 120.0|130 LET |
|00002440| 73 68 61 70 65 3d 6d 61 | 6b 65 73 68 61 70 65 28 |shape=ma|keshape(|
|00002450| 77 73 2e 76 69 65 77 63 | 68 69 6c 64 72 65 6e 5b |ws.viewc|hildren[|
|00002460| 30 5d 2e 70 6f 69 6e 74 | 73 29 0d 30 31 34 30 20 |0].point|s).0140 |
|00002470| 68 69 64 65 20 77 0d 30 | 31 34 35 20 4c 45 54 20 |hide w.0|145 LET |
|00002480| 77 32 73 3d 7b 76 69 65 | 77 42 6f 75 6e 64 73 3a |w2s={vie|wBounds:|
|00002490| 20 7b 6c 65 66 74 3a 31 | 30 30 2c 20 72 69 67 68 | {left:1|00, righ|
|000024a0| 74 3a 20 32 34 30 2c 20 | 74 6f 70 3a 20 31 30 30 |t: 240, |top: 100|
|000024b0| 2c 20 62 6f 74 74 6f 6d | 3a 20 32 34 30 7d 7d 0d |, bottom|: 240}}.|
|000024c0| 30 31 35 30 20 77 69 6e | 64 6f 77 20 77 32 2c 77 |0150 win|dow w2,w|
|000024d0| 32 73 0d 30 31 35 35 20 | 73 68 6f 77 20 77 32 0d |2s.0155 |show w2.|
|000024e0| 30 31 36 30 20 77 64 72 | 61 77 20 77 32 2c 73 68 |0160 wdr|aw w2,sh|
|000024f0| 61 70 65 0d 30 31 37 30 | 20 77 61 69 74 20 33 30 |ape.0170| wait 30|
|00002500| 30 0d 30 31 38 30 20 68 | 69 64 65 20 77 32 0d 0d |0.0180 h|ide w2..|
|00002510| 0d 0d 0d 57 49 4e 44 4f | 57 20 77 31 2c 77 31 73 |...WINDO|W w1,w1s|
|00002520| 70 65 63 2c 22 47 4c 41 | 4e 43 45 22 0d 0d 47 4c |pec,"GLA|NCE"..GL|
|00002530| 41 4e 43 45 20 70 75 74 | 73 20 75 70 20 61 20 77 |ANCE put|s up a w|
|00002540| 69 6e 64 6f 77 20 6f 62 | 6a 65 63 74 20 77 69 74 |indow ob|ject wit|
|00002550| 68 20 74 65 78 74 20 69 | 6e 20 69 74 20 66 6f 72 |h text i|n it for|
|00002560| 20 33 20 73 65 63 6f 6e | 64 73 2c 20 74 68 65 6e | 3 secon|ds, then|
|00002570| 20 65 72 61 73 65 73 20 | 69 74 73 65 6c 66 2e 20 | erases |itself. |
|00002580| 41 6c 77 61 79 73 20 69 | 73 73 75 65 20 74 68 65 |Always i|ssue the|
|00002590| 20 53 48 4f 57 20 63 6f | 6d 6d 61 6e 64 20 69 6d | SHOW co|mmand im|
|000025a0| 6d 65 64 69 61 74 65 6c | 79 20 61 66 74 65 72 20 |mediatel|y after |
|000025b0| 63 72 65 61 74 69 6e 67 | 20 74 68 65 20 77 69 6e |creating| the win|
|000025c0| 64 6f 77 3b 20 69 66 20 | 79 6f 75 20 77 61 6e 74 |dow; if |you want|
|000025d0| 20 74 6f 20 73 68 6f 77 | 20 74 68 65 20 74 65 78 | to show| the tex|
|000025e0| 74 20 61 67 61 69 6e 2c | 20 79 6f 75 20 77 69 6c |t again,| you wil|
|000025f0| 6c 20 68 61 76 65 20 64 | 6f 20 69 73 73 75 65 20 |l have d|o issue |
|00002600| 74 68 65 20 57 49 4e 44 | 4f 57 20 63 6f 6d 6d 61 |the WIND|OW comma|
|00002610| 6e 64 20 61 67 61 69 6e | 2e 20 0d 0d 53 70 65 63 |nd again|. ..Spec|
|00002620| 69 61 6c 20 73 6c 6f 74 | 73 3a 0d 0d 77 31 53 70 |ial slot|s:..w1Sp|
|00002630| 65 63 2e 74 65 78 74 20 | 69 73 20 74 68 65 20 6d |ec.text |is the m|
|00002640| 65 73 73 61 67 65 20 74 | 6f 20 64 69 73 70 6c 61 |essage t|o displa|
|00002650| 79 0d 0d 4f 74 68 65 72 | 20 73 6c 6f 74 73 3a 20 |y..Other| slots: |
|00002660| 76 69 65 77 42 6f 75 6e | 64 73 2c 20 76 69 65 77 |viewBoun|ds, view|
|00002670| 46 6f 6e 74 2c 20 76 69 | 65 77 46 6f 72 6d 61 74 |Font, vi|ewFormat|
|00002680| 0d 0d 0d 0d 57 49 4e 44 | 4f 57 20 77 31 2c 77 31 |....WIND|OW w1,w1|
|00002690| 73 70 65 63 2c 22 47 41 | 55 47 45 22 0d 0d 47 41 |spec,"GA|UGE"..GA|
|000026a0| 55 47 45 20 70 75 74 73 | 20 75 70 20 61 20 77 69 |UGE puts| up a wi|
|000026b0| 6e 64 6f 77 20 6f 62 6a | 65 63 74 20 6d 75 63 68 |ndow obj|ect much|
|000026c0| 20 6c 69 6b 65 20 74 68 | 65 20 62 61 74 74 65 72 | like th|e batter|
|000026d0| 79 20 67 61 75 67 65 20 | 69 6e 20 74 68 65 20 45 |y gauge |in the E|
|000026e0| 78 74 72 61 73 20 44 72 | 61 77 65 72 2e 20 49 74 |xtras Dr|awer. It|
|000026f0| 20 69 73 20 6e 6f 74 20 | 6d 6f 64 69 66 69 61 62 | is not |modifiab|
|00002700| 6c 65 2e 20 49 74 20 63 | 61 6e 20 62 65 20 75 73 |le. It c|an be us|
|00002710| 65 64 20 61 73 20 61 20 | 70 72 6f 67 72 65 73 73 |ed as a |progress|
|00002720| 20 62 61 72 2e 0d 0d 53 | 70 65 63 69 61 6c 20 53 | bar...S|pecial S|
|00002730| 6c 6f 74 73 3a 0d 0d 77 | 31 53 70 65 63 2e 76 69 |lots:..w|1Spec.vi|
|00002740| 65 77 56 61 6c 75 65 20 | 69 73 20 74 68 65 20 63 |ewValue |is the c|
|00002750| 75 72 72 65 6e 74 20 76 | 61 6c 75 65 2c 20 66 72 |urrent v|alue, fr|
|00002760| 6f 6d 20 30 20 74 6f 20 | 31 30 30 2e 0d 0d 45 78 |om 0 to |100...Ex|
|00002770| 61 6d 70 6c 65 3a 0d 30 | 30 31 30 20 4c 45 54 20 |ample:.0|010 LET |
|00002780| 77 31 73 2e 76 69 65 77 | 56 61 6c 75 65 3d 30 0d |w1s.view|Value=0.|
|00002790| 30 30 32 30 20 77 69 6e | 64 6f 77 20 77 31 2c 77 |0020 win|dow w1,w|
|000027a0| 31 73 2c 22 47 61 75 67 | 65 22 0d 30 30 33 30 20 |1s,"Gaug|e".0030 |
|000027b0| 73 68 6f 77 20 77 31 0d | 30 30 34 30 20 66 6f 72 |show w1.|0040 for|
|000027c0| 20 77 31 73 2e 76 69 65 | 77 56 61 6c 75 65 3d 31 | w1s.vie|wValue=1|
|000027d0| 20 74 6f 20 31 30 30 0d | 30 30 35 30 20 20 20 77 | to 100.|0050 w|
|000027e0| 70 72 69 6e 74 20 77 31 | 2c 22 22 0d 30 30 36 30 |print w1|,"".0060|
|000027f0| 20 6e 65 78 74 20 77 31 | 73 2e 76 69 65 77 56 61 | next w1|s.viewVa|
|00002800| 6c 75 65 0d 0d 0d 0d 0d | 57 49 4e 44 4f 57 20 77 |lue.....|WINDOW w|
|00002810| 2c 77 53 70 65 63 2c 22 | 4c 61 62 65 6c 49 6e 70 |,wSpec,"|LabelInp|
|00002820| 75 74 22 0d 0d 54 68 69 | 73 20 6e 65 77 20 77 69 |ut"..Thi|s new wi|
|00002830| 6e 64 6f 77 20 6f 62 6a | 65 63 74 20 70 75 74 73 |ndow obj|ect puts|
|00002840| 20 75 70 20 61 6e 20 69 | 6e 70 75 74 20 66 69 65 | up an i|nput fie|
|00002850| 6c 64 20 77 69 74 68 20 | 61 20 62 75 69 6c 74 20 |ld with |a built |
|00002860| 69 6e 20 6c 69 73 74 20 | 6f 66 20 70 6f 73 73 69 |in list |of possi|
|00002870| 62 6c 65 20 76 61 6c 75 | 65 73 2e 20 54 65 78 74 |ble valu|es. Text|
|00002880| 20 63 61 6e 20 61 6c 73 | 6f 20 62 65 20 69 6e 70 | can als|o be inp|
|00002890| 75 74 20 75 73 69 6e 67 | 20 68 61 6e 64 77 72 69 |ut using| handwri|
|000028a0| 74 69 6e 67 20 6f 72 20 | 77 69 74 68 20 74 68 65 |ting or |with the|
|000028b0| 20 6b 65 79 62 6f 61 72 | 64 2e 20 54 6f 20 63 68 | keyboar|d. To ch|
|000028c0| 61 6e 67 65 20 74 68 65 | 20 76 61 6c 75 65 20 6f |ange the| value o|
|000028d0| 66 20 74 68 65 20 74 65 | 78 74 20 66 69 65 6c 64 |f the te|xt field|
|000028e0| 20 66 72 6f 6d 20 77 69 | 74 68 69 6e 20 61 20 70 | from wi|thin a p|
|000028f0| 72 6f 67 72 61 6d 20 61 | 66 74 65 72 20 69 74 20 |rogram a|fter it |
|00002900| 68 61 73 20 62 65 65 6e | 20 64 69 73 70 6c 61 79 |has been| display|
|00002910| 65 64 2c 20 63 68 61 6e | 67 65 20 77 53 70 65 63 |ed, chan|ge wSpec|
|00002920| 2e 74 65 78 74 2c 20 74 | 68 65 6e 20 48 49 44 45 |.text, t|hen HIDE|
|00002930| 20 61 6e 64 20 53 48 4f | 57 20 74 68 65 20 6f 62 | and SHO|W the ob|
|00002940| 6a 65 63 74 2e 0d 0d 53 | 70 65 63 69 61 6c 20 53 |ject...S|pecial S|
|00002950| 6c 6f 74 73 20 61 72 65 | 0d 0d 77 53 70 65 63 2e |lots are|..wSpec.|
|00002960| 65 6e 74 72 79 46 6c 61 | 67 73 20 20 20 20 20 52 |entryFla|gs R|
|00002970| 65 63 6f 67 6e 69 74 69 | 6f 6e 20 66 6c 61 67 73 |ecogniti|on flags|
|00002980| 2e 20 53 65 65 20 54 65 | 78 74 20 6f 62 6a 65 63 |. See Te|xt objec|
|00002990| 74 20 66 6f 72 20 64 65 | 74 61 69 6c 73 0d 0d 77 |t for de|tails..w|
|000029a0| 53 70 65 63 2e 6c 61 62 | 65 6c 20 20 20 20 20 20 |Spec.lab|el |
|000029b0| 20 20 20 20 20 54 68 65 | 20 6c 61 62 65 6c 20 6f | The| label o|
|000029c0| 66 20 74 68 65 20 66 69 | 65 6c 64 20 0d 0d 77 53 |f the fi|eld ..wS|
|000029d0| 70 65 63 2e 6c 61 62 65 | 6c 46 6f 6e 74 20 20 20 |pec.labe|lFont |
|000029e0| 20 20 20 20 54 68 65 20 | 66 6f 6e 74 20 73 70 65 | The |font spe|
|000029f0| 63 69 66 69 63 61 74 69 | 6f 6e 20 6f 66 20 74 68 |cificati|on of th|
|00002a00| 65 20 6c 61 62 65 6c 0d | 0d 77 53 70 65 63 2e 74 |e label.|.wSpec.t|
|00002a10| 65 78 74 20 20 20 20 20 | 20 20 20 20 20 20 20 54 |ext | T|
|00002a20| 68 65 20 76 61 6c 75 65 | 20 69 6e 20 74 68 65 20 |he value| in the |
|00002a30| 74 65 78 74 20 66 69 65 | 6c 64 2e 0d 0d 77 53 70 |text fie|ld...wSp|
|00002a40| 65 63 2e 6c 61 62 65 6c | 43 6f 6d 6d 61 6e 64 73 |ec.label|Commands|
|00002a50| 20 0d 0d 09 09 41 6e 20 | 61 72 72 61 79 20 6f 66 | ....An |array of|
|00002a60| 20 73 74 72 69 6e 67 73 | 20 74 68 61 74 20 70 6f | strings| that po|
|00002a70| 70 20 75 70 20 77 68 65 | 6e 20 74 68 65 20 6c 61 |p up whe|n the la|
|00002a80| 62 65 6c 20 69 73 20 74 | 61 70 70 65 64 2e 20 49 |bel is t|apped. I|
|00002a90| 66 20 73 75 70 70 6c 69 | 65 64 2c 20 61 20 64 69 |f suppli|ed, a di|
|00002aa0| 61 6d 6f 6e 64 20 61 70 | 70 65 61 72 73 20 74 6f |amond ap|pears to|
|00002ab0| 20 74 68 65 20 6c 65 66 | 74 20 6f 66 20 4c 61 62 | the lef|t of Lab|
|00002ac0| 65 6c 0d 0d 77 53 70 65 | 63 2e 63 75 72 4c 61 62 |el..wSpe|c.curLab|
|00002ad0| 65 6c 43 6f 6d 6d 61 6e | 64 20 0d 0d 09 09 54 68 |elComman|d ....Th|
|00002ae0| 65 20 69 74 65 6d 20 6e | 75 6d 62 65 72 20 69 6e |e item n|umber in|
|00002af0| 20 6c 61 62 65 6c 43 6f | 6d 6d 61 6e 64 73 20 74 | labelCo|mmands t|
|00002b00| 6f 20 70 75 74 20 61 20 | 63 68 65 63 6b 6d 61 72 |o put a |checkmar|
|00002b10| 6b 20 62 65 73 69 64 65 | 0d 77 53 70 65 63 2e 76 |k beside|.wSpec.v|
|00002b20| 69 65 77 56 61 6c 75 65 | 54 68 65 20 69 74 65 6d |iewValue|The item|
|00002b30| 20 6e 75 6d 62 65 72 20 | 74 61 70 70 65 64 20 6f | number |tapped o|
|00002b40| 6e 0d 0d 4f 74 68 65 72 | 20 53 6c 6f 74 73 09 09 |n..Other| Slots..|
|00002b50| 76 69 65 77 42 6f 75 6e | 64 73 2c 20 47 4f 54 4f |viewBoun|ds, GOTO|
|00002b60| 2c 20 47 4f 53 55 42 20 | 0d 0d 0d 0d 0d 57 49 4e |, GOSUB |.....WIN|
|00002b70| 44 4f 57 20 77 2c 77 53 | 70 65 63 2c 22 4c 41 42 |DOW w,wS|pec,"LAB|
|00002b80| 45 4c 50 49 43 4b 45 52 | 22 0d 0d 54 68 65 20 4c |ELPICKER|"..The L|
|00002b90| 41 42 45 4c 50 49 43 4b | 45 52 20 77 69 6e 64 6f |ABELPICK|ER windo|
|00002ba0| 77 20 6f 62 6a 65 63 74 | 20 70 75 74 20 75 70 20 |w object| put up |
|00002bb0| 61 20 6c 61 62 65 6c 20 | 77 69 74 68 20 61 20 64 |a label |with a d|
|00002bc0| 69 61 6d 6f 6e 64 20 62 | 65 73 69 64 65 20 69 74 |iamond b|eside it|
|00002bd0| 2e 20 54 68 65 20 64 69 | 61 6d 6f 6e 64 20 6d 65 |. The di|amond me|
|00002be0| 61 6e 73 20 74 68 61 74 | 20 74 68 65 20 6c 61 62 |ans that| the lab|
|00002bf0| 65 6c 20 63 61 6e 20 62 | 65 20 74 61 70 70 65 64 |el can b|e tapped|
|00002c00| 20 6f 6e 20 74 6f 20 62 | 72 69 6e 67 20 75 70 20 | on to b|ring up |
|00002c10| 61 20 6c 69 73 74 20 6f | 66 20 63 68 6f 69 63 65 |a list o|f choice|
|00002c20| 73 2e 20 54 68 65 20 63 | 75 72 72 65 63 74 20 76 |s. The c|urrect v|
|00002c30| 61 6c 75 65 20 69 73 20 | 64 69 73 70 6c 61 79 65 |alue is |displaye|
|00002c40| 64 20 62 65 73 69 64 65 | 20 74 68 65 20 6c 61 62 |d beside| the lab|
|00002c50| 65 6c 2e 0d 0d 53 70 65 | 63 69 61 6c 20 53 6c 6f |el...Spe|cial Slo|
|00002c60| 74 73 3a 0d 0d 77 53 70 | 65 63 2e 74 65 78 74 20 |ts:..wSp|ec.text |
|00002c70| 69 73 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 76 |is the c|urrent v|
|00002c80| 61 6c 75 65 20 6f 66 20 | 74 68 65 20 66 69 65 6c |alue of |the fiel|
|00002c90| 64 0d 0d 77 53 70 65 63 | 2e 6c 61 62 65 6c 63 6f |d..wSpec|.labelco|
|00002ca0| 6d 6d 61 6e 64 73 20 69 | 73 20 61 6e 20 61 72 72 |mmands i|s an arr|
|00002cb0| 61 79 20 6f 66 20 73 74 | 72 69 6e 67 20 76 61 6c |ay of st|ring val|
|00002cc0| 75 65 73 20 74 6f 20 62 | 65 20 70 69 63 6b 65 64 |ues to b|e picked|
|00002cd0| 20 66 72 6f 6d 0d 0d 77 | 53 70 65 63 2e 76 69 65 | from..w|Spec.vie|
|00002ce0| 77 56 61 6c 75 65 20 69 | 73 20 74 68 65 20 69 6e |wValue i|s the in|
|00002cf0| 64 65 78 20 69 6e 74 6f | 20 74 68 65 20 6c 61 62 |dex into| the lab|
|00002d00| 65 6c 43 6f 6d 6d 61 6e | 64 73 20 61 72 72 61 79 |elComman|ds array|
|00002d10| 20 66 6f 72 20 74 68 65 | 20 63 75 72 72 65 6e 74 | for the| current|
|00002d20| 20 76 61 6c 75 65 2e 20 | 54 68 65 20 64 65 66 61 | value. |The defa|
|00002d30| 75 6c 74 20 69 73 20 30 | 2e 0d 0d 4f 74 68 65 72 |ult is 0|...Other|
|00002d40| 20 53 6c 6f 74 73 3a 20 | 76 69 65 77 42 6f 75 6e | Slots: |viewBoun|
|00002d50| 64 73 2c 20 76 69 65 77 | 46 6f 6e 74 2c 20 47 4f |ds, view|Font, GO|
|00002d60| 54 4f 2c 20 47 4f 53 55 | 42 2c 20 76 69 65 77 46 |TO, GOSU|B, viewF|
|00002d70| 6f 72 6d 61 74 0d 0d 0d | 0d 57 49 4e 44 4f 57 20 |ormat...|.WINDOW |
|00002d80| 77 2c 77 53 70 65 63 2c | 22 4d 4f 4e 54 48 22 0d |w,wSpec,|"MONTH".|
|00002d90| 0d 54 68 69 73 20 77 69 | 6e 64 6f 77 20 6f 62 6a |.This wi|ndow obj|
|00002da0| 65 63 74 20 70 75 74 73 | 20 75 70 20 61 20 63 61 |ect puts| up a ca|
|00002db0| 6c 65 6e 64 61 72 20 66 | 72 6f 6d 20 77 68 69 63 |lendar f|rom whic|
|00002dc0| 68 20 64 61 74 65 73 20 | 6f 72 20 72 61 6e 67 65 |h dates |or range|
|00002dd0| 73 20 6f 66 20 64 61 74 | 65 73 20 63 61 6e 0d 73 |s of dat|es can.s|
|00002de0| 65 6c 65 63 74 65 64 2e | 0d 0d 53 70 65 63 69 61 |elected.|..Specia|
|00002df0| 6c 20 53 6c 6f 74 73 3a | 0d 0d 77 53 70 65 63 2e |l Slots:|..wSpec.|
|00002e00| 73 65 6c 65 63 74 65 64 | 44 61 74 65 73 20 69 73 |selected|Dates is|
|00002e10| 20 61 6e 20 61 72 72 61 | 79 20 6f 66 20 74 69 6d | an arra|y of tim|
|00002e20| 65 73 20 28 61 73 20 70 | 72 6f 64 75 63 65 64 20 |es (as p|roduced |
|00002e30| 62 79 20 74 68 65 20 54 | 49 4d 45 28 29 20 66 75 |by the T|IME() fu|
|00002e40| 6e 63 74 69 6f 6e 29 2e | 20 57 68 65 6e 20 74 68 |nction).| When th|
|00002e50| 65 20 77 69 6e 64 6f 77 | 20 69 73 20 6f 70 65 6e |e window| is open|
|00002e60| 65 64 2c 20 74 68 69 73 | 20 64 61 74 65 20 69 73 |ed, this| date is|
|00002e70| 20 75 73 65 64 20 74 6f | 20 64 65 74 65 72 6d 69 | used to| determi|
|00002e80| 6e 65 20 77 68 69 63 68 | 20 6d 6f 6e 74 68 20 69 |ne which| month i|
|00002e90| 73 20 64 69 73 70 6c 61 | 79 65 64 2e 20 49 74 20 |s displa|yed. It |
|00002ea0| 64 65 66 61 75 6c 74 73 | 20 74 6f 20 74 68 65 20 |defaults| to the |
|00002eb0| 63 75 72 72 65 6e 74 20 | 6d 6f 6e 74 68 2e 20 54 |current |month. T|
|00002ec0| 68 65 20 73 65 6c 65 63 | 74 65 64 20 64 61 74 65 |he selec|ted date|
|00002ed0| 73 20 61 72 65 20 72 65 | 74 75 72 6e 65 64 2e 0d |s are re|turned..|
|00002ee0| 0d 77 53 70 65 63 2e 6e | 6f 53 65 6c 65 63 74 69 |.wSpec.n|oSelecti|
|00002ef0| 6f 6e 3d 54 52 55 45 20 | 77 69 6c 6c 20 74 75 72 |on=TRUE |will tur|
|00002f00| 6e 20 6f 66 66 20 74 68 | 65 20 64 61 74 65 20 73 |n off th|e date s|
|00002f10| 65 6c 65 63 74 69 6f 6e | 20 63 61 70 61 62 69 6c |election| capabil|
|00002f20| 69 74 79 0d 0d 77 53 70 | 65 63 2e 73 69 6e 67 6c |ity..wSp|ec.singl|
|00002f30| 65 44 61 79 3d 54 52 55 | 45 20 77 69 6c 6c 20 6f |eDay=TRU|E will o|
|00002f40| 6e 6c 79 20 61 6c 6c 6f | 77 20 73 69 6e 67 6c 65 |nly allo|w single|
|00002f50| 20 64 61 79 73 20 74 6f | 20 62 65 20 73 65 6c 65 | days to| be sele|
|00002f60| 63 74 65 64 0d 0d 4f 74 | 68 65 72 20 53 6c 6f 74 |cted..Ot|her Slot|
|00002f70| 73 3a 20 76 69 65 77 42 | 6f 75 6e 64 73 2c 20 47 |s: viewB|ounds, G|
|00002f80| 4f 54 4f 2c 20 47 4f 53 | 55 42 2c 20 76 69 65 77 |OTO, GOS|UB, view|
|00002f90| 46 6f 72 6d 61 74 0d 0d | 57 49 4e 44 4f 57 20 77 |Format..|WINDOW w|
|00002fa0| 2c 77 53 70 65 63 2c 22 | 50 41 52 41 47 52 41 50 |,wSpec,"|PARAGRAP|
|00002fb0| 48 22 0d 0d 54 68 69 73 | 20 77 69 6e 64 6f 77 20 |H"..This| window |
|00002fc0| 6f 62 6a 65 63 74 20 69 | 73 20 75 73 65 64 20 74 |object i|s used t|
|00002fd0| 6f 20 64 69 73 70 6c 61 | 79 20 74 65 78 74 20 6f |o displa|y text o|
|00002fe0| 6e 20 74 68 65 20 73 63 | 72 65 65 6e 2e 20 49 74 |n the sc|reen. It|
|00002ff0| 20 69 73 20 73 69 6d 69 | 6c 61 72 20 74 6f 20 74 | is simi|lar to t|
|00003000| 68 65 20 77 69 6e 64 6f | 77 20 79 6f 75 20 67 65 |he windo|w you ge|
|00003010| 74 20 77 68 65 6e 20 79 | 6f 75 20 64 6f 6e 27 74 |t when y|ou don't|
|00003020| 20 73 70 65 63 69 66 79 | 20 61 6e 79 20 77 69 6e | specify| any win|
|00003030| 64 6f 77 20 6f 62 6a 65 | 63 74 2e 20 49 74 20 69 |dow obje|ct. It i|
|00003040| 73 20 61 20 76 65 72 79 | 20 73 69 6d 70 6c 65 2c |s a very| simple,|
|00003050| 20 6c 6f 77 20 6f 76 65 | 72 68 65 61 64 20 77 61 | low ove|rhead wa|
|00003060| 79 20 74 6f 20 64 69 73 | 70 6c 61 79 20 74 65 78 |y to dis|play tex|
|00003070| 74 2e 0d 0d 53 70 65 63 | 69 61 6c 20 53 6c 6f 74 |t...Spec|ial Slot|
|00003080| 73 3a 0d 0d 77 53 70 65 | 63 2e 74 65 78 74 20 69 |s:..wSpe|c.text i|
|00003090| 73 20 74 68 65 20 74 65 | 78 74 20 74 6f 20 62 65 |s the te|xt to be|
|000030a0| 20 64 69 73 70 6c 61 79 | 65 64 2e 0d 0d 4f 74 68 | display|ed...Oth|
|000030b0| 65 72 20 53 6c 6f 74 73 | 3a 20 76 69 65 77 42 6f |er Slots|: viewBo|
|000030c0| 75 6e 64 73 2c 20 76 69 | 65 77 46 6f 6e 74 2c 20 |unds, vi|ewFont, |
|000030d0| 76 69 65 77 46 6f 72 6d | 61 74 0d 0d 0d 57 49 4e |viewForm|at...WIN|
|000030e0| 44 4f 57 20 77 2c 77 53 | 70 65 63 2c 22 50 49 43 |DOW w,wS|pec,"PIC|
|000030f0| 4b 45 52 22 0d 0d 54 68 | 65 20 50 49 43 4b 45 52 |KER"..Th|e PICKER|
|00003100| 20 77 69 6e 64 6f 77 20 | 6f 62 6a 65 63 74 20 70 | window |object p|
|00003110| 75 74 73 20 75 70 20 61 | 20 6c 69 73 74 20 6f 66 |uts up a| list of|
|00003120| 20 69 74 65 6d 73 20 74 | 68 65 20 6f 70 65 72 61 | items t|he opera|
|00003130| 74 6f 72 20 63 61 6e 20 | 63 68 6f 6f 73 65 20 66 |tor can |choose f|
|00003140| 72 6f 6d 2e 20 54 61 70 | 70 69 6e 67 20 6f 75 74 |rom. Tap|ping out|
|00003150| 73 69 64 65 20 74 68 65 | 20 6c 69 73 74 20 64 69 |side the| list di|
|00003160| 73 6d 69 73 73 65 73 20 | 69 74 20 77 69 74 68 20 |smisses |it with |
|00003170| 6e 6f 20 73 65 6c 65 63 | 74 69 6f 6e 2e 0d 20 0d |no selec|tion.. .|
|00003180| 53 70 65 63 69 61 6c 20 | 53 6c 6f 74 73 3a 0d 0d |Special |Slots:..|
|00003190| 77 53 70 65 63 2e 70 69 | 63 6b 49 74 65 6d 73 20 |wSpec.pi|ckItems |
|000031a0| 69 73 20 61 6e 20 61 72 | 72 61 79 20 6f 66 20 69 |is an ar|ray of i|
|000031b0| 74 65 6d 73 20 74 6f 20 | 62 65 20 70 69 63 6b 65 |tems to |be picke|
|000031c0| 64 2e 20 54 68 65 79 20 | 63 61 6e 20 62 65 20 73 |d. They |can be s|
|000031d0| 69 6d 70 6c 65 20 61 20 | 73 74 72 69 6e 67 2c 20 |imple a |string, |
|000031e0| 74 68 65 20 73 79 6d 62 | 6f 6c 20 27 70 69 63 6b |the symb|ol 'pick|
|000031f0| 53 65 70 61 72 61 74 6f | 72 20 74 6f 20 64 72 61 |Separato|r to dra|
|00003200| 77 20 61 20 6c 69 6e 65 | 20 61 63 72 6f 73 73 20 |w a line| across |
|00003210| 74 68 65 20 62 6f 78 2c | 20 6f 72 20 61 20 66 72 |the box,| or a fr|
|00003220| 61 6d 65 20 77 69 74 68 | 20 74 69 74 6c 65 2c 20 |ame with| title, |
|00003230| 70 69 63 6b 61 62 6c 65 | 20 61 6e 64 20 6d 61 72 |pickable| and mar|
|00003240| 6b 20 73 6c 6f 74 73 2e | 20 0d 0d 77 53 70 65 63 |k slots.| ..wSpec|
|00003250| 2e 62 6f 75 6e 64 73 55 | 73 65 20 69 6e 73 74 65 |.boundsU|se inste|
|00003260| 61 64 20 6f 66 20 74 68 | 65 20 75 73 75 61 6c 20 |ad of th|e usual |
|00003270| 76 69 65 77 42 6f 75 6e | 64 73 0d 0d 45 78 61 6d |viewBoun|ds..Exam|
|00003280| 70 6c 65 3a 0d 0d 70 69 | 63 6b 49 74 65 6d 73 3d |ple:..pi|ckItems=|
|00003290| 5b 7b 69 74 65 6d 3a 20 | 22 50 69 63 6b 65 72 22 |[{item: |"Picker"|
|000032a0| 2c 20 70 69 63 6b 61 62 | 6c 65 3a 20 74 72 75 65 |, pickab|le: true|
|000032b0| 2c 20 6d 61 72 6b 3a 20 | 63 68 72 28 38 37 33 30 |, mark: |chr(8730|
|000032c0| 29 7d 2c 20 27 70 69 63 | 6b 73 65 70 61 72 61 74 |)}, 'pic|kseparat|
|000032d0| 6f 72 2c 22 54 77 6f 22 | 2c 22 54 68 72 65 65 22 |or,"Two"|,"Three"|
|000032e0| 5d 0d 0d 77 53 70 65 63 | 2e 76 69 65 77 56 61 6c |]..wSpec|.viewVal|
|000032f0| 75 65 20 69 73 20 74 68 | 65 20 69 6e 64 65 78 20 |ue is th|e index |
|00003300| 6f 66 20 74 68 65 20 69 | 74 65 6d 20 63 68 6f 73 |of the i|tem chos|
|00003310| 65 6e 20 62 79 20 74 68 | 65 20 6f 70 65 72 61 74 |en by th|e operat|
|00003320| 6f 72 0d 0d 4f 74 68 65 | 72 20 73 6c 6f 74 73 3a |or..Othe|r slots:|
|00003330| 20 42 6f 75 6e 64 73 2c | 20 76 69 65 77 46 6f 6e | Bounds,| viewFon|
|00003340| 74 2c 20 47 4f 54 4f 2c | 20 47 4f 53 55 42 0d 0d |t, GOTO,| GOSUB..|
|00003350| 4e 6f 74 65 3a 20 56 69 | 65 77 42 6f 75 6e 64 73 |Note: Vi|ewBounds|
|00003360| 20 61 72 65 20 6e 6f 74 | 20 64 65 66 69 6e 65 64 | are not| defined|
|00003370| 20 66 6f 72 20 50 49 43 | 4b 45 52 3a 20 74 68 65 | for PIC|KER: the|
|00003380| 79 20 61 72 65 20 63 61 | 6c 63 75 6c 61 74 65 64 |y are ca|lculated|
|00003390| 20 66 72 6f 6d 20 42 6f | 75 6e 64 73 20 61 6e 64 | from Bo|unds and|
|000033a0| 20 62 79 20 74 68 65 20 | 76 61 6c 75 65 73 20 69 | by the |values i|
|000033b0| 6e 20 70 69 63 6b 49 74 | 65 6d 73 2e 0d 0d 0d 0d |n pickIt|ems.....|
|000033c0| 57 49 4e 44 4f 57 20 77 | 2c 77 53 70 65 63 2c 22 |WINDOW w|,wSpec,"|
|000033d0| 53 43 52 4f 4c 4c 45 52 | 22 0d 0d 54 68 65 20 53 |SCROLLER|"..The S|
|000033e0| 43 52 4f 4c 4c 45 52 20 | 6f 62 6a 65 63 74 20 69 |CROLLER |object i|
|000033f0| 73 20 75 73 65 64 20 66 | 6f 72 20 74 6f 20 64 69 |s used f|or to di|
|00003400| 73 70 6c 61 79 20 61 6e | 64 20 65 64 69 74 20 6c |splay an|d edit l|
|00003410| 61 72 67 65 20 74 65 78 | 74 20 62 6c 6f 63 6b 73 |arge tex|t blocks|
|00003420| 2e 20 49 74 20 68 61 73 | 20 74 77 6f 20 6d 6f 64 |. It has| two mod|
|00003430| 65 73 3a 20 44 69 73 70 | 6c 61 79 20 6d 6f 64 65 |es: Disp|lay mode|
|00003440| 2c 20 61 6e 64 20 45 64 | 69 74 20 6d 6f 64 65 2e |, and Ed|it mode.|
|00003450| 20 49 6e 20 44 69 73 70 | 6c 61 79 20 6d 6f 64 65 | In Disp|lay mode|
|00003460| 2c 20 69 74 20 70 75 74 | 73 20 75 70 20 61 20 62 |, it put|s up a b|
|00003470| 6f 78 20 77 69 74 68 20 | 74 68 65 20 64 69 6d 65 |ox with |the dime|
|00003480| 6e 73 69 6f 6e 73 20 6f | 66 20 76 69 65 77 42 6f |nsions o|f viewBo|
|00003490| 75 6e 64 73 20 61 6e 64 | 20 64 69 73 70 6c 61 79 |unds and| display|
|000034a0| 73 20 74 68 65 20 74 65 | 73 74 20 69 6e 20 73 69 |s the te|st in si|
|000034b0| 6d 70 6c 65 46 6f 6e 74 | 20 39 2e 20 54 68 65 20 |mpleFont| 9. The |
|000034c0| 73 63 72 6f 6c 6c 20 61 | 72 72 6f 77 73 20 61 74 |scroll a|rrows at|
|000034d0| 20 74 68 65 20 74 6f 70 | 20 6f 66 20 74 68 65 20 | the top| of the |
|000034e0| 62 6f 78 20 63 61 6e 20 | 62 65 20 75 73 65 64 20 |box can |be used |
|000034f0| 74 6f 20 6d 6f 76 65 20 | 74 68 72 6f 75 67 68 20 |to move |through |
|00003500| 74 68 65 20 74 65 78 74 | 2e 0d 0d 54 6f 20 67 65 |the text|...To ge|
|00003510| 74 20 74 6f 20 45 64 69 | 74 20 6d 6f 64 65 2c 20 |t to Edi|t mode, |
|00003520| 74 61 70 20 74 68 65 20 | 4c 61 72 67 65 20 4d 6f |tap the |Large Mo|
|00003530| 75 6e 74 61 69 6e 73 20 | 69 63 6f 6e 20 69 6e 20 |untains |icon in |
|00003540| 74 68 65 20 68 65 61 64 | 65 72 2e 20 54 68 65 20 |the head|er. The |
|00003550| 62 6f 78 20 77 69 6c 6c | 20 65 78 70 61 6e 64 20 |box will| expand |
|00003560| 74 6f 20 74 61 6b 65 20 | 6f 76 65 72 20 74 68 65 |to take |over the|
|00003570| 20 65 6e 74 69 72 65 20 | 73 63 72 65 65 6e 20 61 | entire |screen a|
|00003580| 6e 64 20 74 68 65 20 74 | 65 78 74 20 73 69 7a 65 |nd the t|ext size|
|00003590| 20 77 69 6c 6c 20 62 65 | 20 69 6e 63 72 65 61 73 | will be| increas|
|000035a0| 65 64 20 74 6f 20 61 6c | 6c 6f 77 20 65 61 73 69 |ed to al|low easi|
|000035b0| 65 72 20 65 64 69 74 69 | 6e 67 2e 20 54 61 70 20 |er editi|ng. Tap |
|000035c0| 74 68 65 20 53 6d 61 6c | 6c 20 4d 6f 75 6e 74 61 |the Smal|l Mounta|
|000035d0| 69 6e 73 20 69 63 6f 6e | 20 74 6f 20 72 65 64 75 |ins icon| to redu|
|000035e0| 63 65 20 74 68 65 20 62 | 6f 78 20 74 6f 20 69 74 |ce the b|ox to it|
|000035f0| 73 20 70 72 65 76 69 6f | 75 73 20 64 69 6d 65 6e |s previo|us dimen|
|00003600| 73 69 6f 6e 73 2e 0d 0d | 53 70 65 63 69 61 6c 20 |sions...|Special |
|00003610| 53 6c 6f 74 73 3a 0d 0d | 77 53 70 65 63 2e 74 65 |Slots:..|wSpec.te|
|00003620| 78 74 20 69 73 20 74 68 | 65 20 63 6f 6e 74 65 6e |xt is th|e conten|
|00003630| 74 73 20 6f 66 20 74 68 | 65 20 62 6f 78 0d 0d 77 |ts of th|e box..w|
|00003640| 53 70 65 63 2e 62 6f 78 | 54 69 74 6c 65 20 69 73 |Spec.box|Title is|
|00003650| 20 74 68 65 20 74 69 74 | 6c 65 20 6f 66 20 74 68 | the tit|le of th|
|00003660| 65 20 62 6f 78 0d 0d 77 | 53 70 65 63 2e 65 64 69 |e box..w|Spec.edi|
|00003670| 74 4f 4b 20 69 66 20 54 | 52 55 45 2c 20 74 68 65 |tOK if T|RUE, the|
|00003680| 6e 20 74 68 65 20 6d 6f | 75 6e 74 61 69 6e 73 20 |n the mo|untains |
|00003690| 69 63 6f 6e 20 61 70 70 | 65 61 72 73 20 69 6e 20 |icon app|ears in |
|000036a0| 74 68 65 20 74 69 74 6c | 65 20 62 61 72 2e 0d 0d |the titl|e bar...|
|000036b0| 4f 74 68 65 72 20 73 6c | 6f 74 73 3a 09 09 20 76 |Other sl|ots:.. v|
|000036c0| 69 65 77 42 6f 75 6e 64 | 73 0d 0d 45 78 61 6d 70 |iewBound|s..Examp|
|000036d0| 6c 65 3a 0d 30 30 31 30 | 20 4c 45 54 20 77 31 73 |le:.0010| LET w1s|
|000036e0| 2e 74 65 78 74 3d 22 54 | 68 69 73 20 69 73 20 61 |.text="T|his is a|
|000036f0| 20 76 65 72 79 20 6c 6f | 6e 67 20 70 69 65 63 65 | very lo|ng piece|
|00003700| 20 6f 66 20 74 65 78 74 | 2c 20 6c 6f 6e 67 20 65 | of text|, long e|
|00003710| 6e 6f 75 67 68 20 74 6f | 20 66 6f 72 63 65 20 69 |nough to| force i|
|00003720| 74 20 74 6f 20 73 63 72 | 6f 6c 6c 22 0d 30 30 31 |t to scr|oll".001|
|00003730| 31 20 6c 65 74 20 77 31 | 73 2e 74 65 78 74 3d 77 |1 let w1|s.text=w|
|00003740| 31 73 2e 74 65 78 74 20 | 26 26 20 77 31 73 2e 74 |1s.text |&& w1s.t|
|00003750| 65 78 74 20 26 26 20 77 | 31 73 2e 74 65 78 74 0d |ext && w|1s.text.|
|00003760| 30 30 31 32 20 4c 45 54 | 20 77 31 73 2e 62 6f 78 |0012 LET| w1s.box|
|00003770| 54 69 74 6c 65 3d 22 53 | 63 72 6f 6c 6c 65 72 22 |Title="S|croller"|
|00003780| 0d 30 30 32 30 20 77 69 | 6e 64 6f 77 20 77 31 2c |.0020 wi|ndow w1,|
|00003790| 77 31 73 2c 22 73 63 72 | 6f 6c 6c 65 72 22 0d 30 |w1s,"scr|oller".0|
|000037a0| 30 33 30 20 73 68 6f 77 | 20 77 31 0d 0d 0d 0d 0d |030 show| w1.....|
|000037b0| 57 49 4e 44 4f 57 20 77 | 2c 77 53 70 65 63 2c 22 |WINDOW w|,wSpec,"|
|000037c0| 53 45 54 43 4c 4f 43 4b | 22 0d 0d 54 68 69 73 20 |SETCLOCK|"..This |
|000037d0| 77 69 6e 64 6f 77 20 6f | 62 6a 65 63 74 20 70 75 |window o|bject pu|
|000037e0| 74 73 20 75 70 20 61 20 | 63 6c 6f 63 6b 20 77 69 |ts up a |clock wi|
|000037f0| 74 68 20 61 6e 20 68 6f | 75 72 20 68 61 6e 64 20 |th an ho|ur hand |
|00003800| 61 6e 64 20 61 20 6d 69 | 6e 75 74 65 20 68 61 6e |and a mi|nute han|
|00003810| 64 2e 20 54 68 65 20 6f | 70 65 72 61 74 6f 72 20 |d. The o|perator |
|00003820| 63 61 6e 20 63 68 61 6e | 67 65 20 74 68 65 20 74 |can chan|ge the t|
|00003830| 69 6d 65 20 73 65 74 74 | 69 6e 67 2e 20 54 68 65 |ime sett|ing. The|
|00003840| 20 73 69 7a 65 20 69 73 | 20 66 69 78 65 64 20 61 | size is| fixed a|
|00003850| 74 20 36 34 20 70 69 78 | 65 6c 73 20 62 79 20 36 |t 64 pix|els by 6|
|00003860| 34 20 70 69 78 65 6c 73 | 2e 20 4e 6f 74 65 20 74 |4 pixels|. Note t|
|00003870| 68 61 74 20 69 66 20 79 | 6f 75 20 73 75 70 70 6c |hat if y|ou suppl|
|00003880| 79 20 61 20 47 4f 54 4f | 20 6f 72 20 47 4f 53 55 |y a GOTO| or GOSU|
|00003890| 42 20 73 6c 6f 74 2c 20 | 69 74 20 77 69 6c 6c 20 |B slot, |it will |
|000038a0| 62 65 20 65 78 65 63 75 | 74 65 64 20 65 61 63 68 |be execu|ted each|
|000038b0| 20 74 69 6d 65 20 74 68 | 65 20 63 6c 6f 63 6b 20 | time th|e clock |
|000038c0| 69 73 20 63 68 61 6e 67 | 65 64 3a 20 69 66 20 74 |is chang|ed: if t|
|000038d0| 68 65 20 75 73 65 72 20 | 63 68 61 6e 67 65 73 20 |he user |changes |
|000038e0| 62 6f 74 68 20 74 68 65 | 20 68 6f 75 72 20 61 6e |both the| hour an|
|000038f0| 64 20 6d 69 6e 75 74 65 | 20 68 61 6e 64 73 2c 20 |d minute| hands, |
|00003900| 47 4f 54 4f 2f 47 4f 53 | 55 42 20 77 69 6c 6c 20 |GOTO/GOS|UB will |
|00003910| 62 65 20 65 78 65 63 75 | 74 65 64 20 74 77 69 63 |be execu|ted twic|
|00003920| 65 2e 0d 0d 53 70 65 63 | 69 61 6c 20 53 6c 6f 74 |e...Spec|ial Slot|
|00003930| 73 0d 0d 77 53 70 65 63 | 2e 68 6f 75 72 73 20 69 |s..wSpec|.hours i|
|00003940| 73 20 74 68 65 20 73 65 | 74 74 69 6e 67 20 66 6f |s the se|tting fo|
|00003950| 72 20 74 68 65 20 68 6f | 75 72 73 20 68 61 6e 64 |r the ho|urs hand|
|00003960| 0d 0d 77 53 70 65 63 2e | 6d 69 6e 75 74 65 73 20 |..wSpec.|minutes |
|00003970| 69 73 20 74 68 65 20 73 | 65 74 74 69 6e 67 20 66 |is the s|etting f|
|00003980| 6f 72 20 74 68 65 20 6d | 69 6e 75 74 65 73 20 68 |or the m|inutes h|
|00003990| 61 6e 64 0d 0d 4f 74 68 | 65 72 20 53 6c 6f 74 73 |and..Oth|er Slots|
|000039a0| 3a 20 76 69 65 77 42 6f | 75 6e 64 73 2c 20 47 4f |: viewBo|unds, GO|
|000039b0| 54 4f 2c 20 47 4f 53 55 | 42 2c 20 76 69 65 77 46 |TO, GOSU|B, viewF|
|000039c0| 6f 72 6d 61 74 0d 0d 57 | 49 4e 44 4f 57 20 77 2c |ormat..W|INDOW w,|
|000039d0| 77 53 70 65 63 2c 22 53 | 4c 49 44 45 52 22 0d 0d |wSpec,"S|LIDER"..|
|000039e0| 54 68 65 20 53 4c 49 44 | 45 52 20 70 72 6f 74 6f |The SLID|ER proto|
|000039f0| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 6f 62 6a | is a wi|ndow obj|
|00003a00| 65 63 74 20 74 68 61 74 | 20 70 75 74 73 20 61 20 |ect that| puts a |
|00003a10| 73 6c 69 64 65 72 20 62 | 61 72 20 6f 6e 20 74 68 |slider b|ar on th|
|00003a20| 65 20 73 63 72 65 65 6e | 20 61 6e 64 20 72 65 74 |e screen| and ret|
|00003a30| 75 72 6e 73 20 61 20 6e | 75 6d 62 65 72 20 66 72 |urns a n|umber fr|
|00003a40| 6f 6d 20 30 20 74 6f 20 | 31 30 30 20 69 6e 20 77 |om 0 to |100 in w|
|00003a50| 31 53 70 65 63 2e 76 69 | 65 77 56 61 6c 75 65 2e |1Spec.vi|ewValue.|
|00003a60| 20 49 74 20 69 73 20 73 | 69 6d 69 6c 61 72 20 74 | It is s|imilar t|
|00003a70| 6f 20 74 68 65 20 56 6f | 6c 75 6d 65 20 63 6f 6e |o the Vo|lume con|
|00003a80| 74 72 6f 6c 20 69 6e 20 | 74 68 65 20 45 78 74 72 |trol in |the Extr|
|00003a90| 61 73 20 44 72 61 77 65 | 72 2e 0d 0d 53 70 65 63 |as Drawe|r...Spec|
|00003aa0| 69 61 6c 20 53 6c 6f 74 | 73 3a 20 0d 0d 57 31 73 |ial Slot|s: ..W1s|
|00003ab0| 70 65 63 2e 76 69 65 77 | 76 61 6c 75 65 20 63 6f |pec.view|value co|
|00003ac0| 6e 74 61 69 6e 73 20 74 | 68 65 20 63 75 72 72 65 |ntains t|he curre|
|00003ad0| 6e 74 20 76 61 6c 75 65 | 2e 20 53 65 74 20 74 68 |nt value|. Set th|
|00003ae0| 69 73 20 62 65 66 6f 72 | 65 20 69 73 73 75 69 6e |is befor|e issuin|
|00003af0| 67 20 74 68 65 20 57 49 | 4e 44 4f 57 20 63 6f 6d |g the WI|NDOW com|
|00003b00| 6d 61 6e 64 20 74 6f 20 | 61 20 74 68 65 20 76 61 |mand to |a the va|
|00003b10| 6c 75 65 20 79 6f 75 20 | 77 61 6e 74 2e 20 54 68 |lue you |want. Th|
|00003b20| 65 20 64 65 66 61 75 6c | 74 20 69 73 20 35 30 2e |e defaul|t is 50.|
|00003b30| 0d 0d 4f 74 68 65 72 20 | 53 6c 6f 74 73 3a 20 76 |..Other |Slots: v|
|00003b40| 69 65 77 42 6f 75 6e 64 | 73 2c 20 56 69 65 77 46 |iewBound|s, ViewF|
|00003b50| 6f 6e 74 2c 20 47 4f 54 | 4f 2c 20 47 4f 53 55 42 |ont, GOT|O, GOSUB|
|00003b60| 2c 20 76 69 65 77 46 6f | 72 6d 61 74 0d 0d 0d 0d |, viewFo|rmat....|
|00003b70| 0d 57 49 4e 44 4f 57 20 | 77 31 2c 77 31 73 70 65 |.WINDOW |w1,w1spe|
|00003b80| 63 2c 22 54 45 58 54 22 | 0d 0d 54 68 65 20 49 4e |c,"TEXT"|..The IN|
|00003b90| 50 55 54 20 77 69 6e 64 | 6f 77 20 6f 62 6a 65 63 |PUT wind|ow objec|
|00003ba0| 74 20 70 72 6f 76 69 64 | 65 73 20 61 20 67 65 6e |t provid|es a gen|
|00003bb0| 65 72 61 6c 20 74 65 78 | 74 20 69 6e 70 75 74 20 |eral tex|t input |
|00003bc0| 66 69 65 6c 64 2c 20 77 | 69 74 68 20 67 72 65 79 |field, w|ith grey|
|00003bd0| 20 6c 69 6e 65 73 20 61 | 63 72 6f 73 73 20 69 74 | lines a|cross it|
|00003be0| 2e 20 49 74 20 6d 61 79 | 20 62 65 20 6f 66 20 61 |. It may| be of a|
|00003bf0| 6e 79 20 73 69 7a 65 2c | 20 61 6e 64 20 68 61 76 |ny size,| and hav|
|00003c00| 65 20 6d 75 6c 74 69 70 | 6c 65 20 6c 69 6e 65 73 |e multip|le lines|
|00003c10| 20 6f 66 20 69 6e 70 75 | 74 2e 20 59 6f 75 20 6d | of inpu|t. You m|
|00003c20| 61 79 20 70 61 73 73 20 | 61 6e 20 69 6e 69 74 69 |ay pass |an initi|
|00003c30| 61 6c 20 76 61 6c 75 65 | 20 69 6e 74 6f 20 74 68 |al value| into th|
|00003c40| 65 20 66 69 65 6c 64 20 | 75 73 69 6e 67 20 74 68 |e field |using th|
|00003c50| 65 20 77 53 70 65 63 2e | 74 65 78 74 20 73 6c 6f |e wSpec.|text slo|
|00003c60| 74 3b 20 74 68 65 20 63 | 68 61 6e 67 65 64 20 76 |t; the c|hanged v|
|00003c70| 61 6c 75 65 20 69 73 20 | 72 65 74 75 72 6e 65 64 |alue is |returned|
|00003c80| 20 69 6e 20 74 68 65 20 | 73 61 6d 65 20 73 6c 6f | in the |same slo|
|00003c90| 74 2e 20 0d 0d 53 70 65 | 63 69 61 6c 20 73 6c 6f |t. ..Spe|cial slo|
|00003ca0| 74 73 3a 0d 0d 77 31 53 | 70 65 63 2e 54 65 78 74 |ts:..w1S|pec.Text|
|00003cb0| 20 69 73 20 74 68 65 20 | 74 65 78 74 20 6f 66 20 | is the |text of |
|00003cc0| 74 68 65 20 69 6e 70 75 | 74 20 62 6f 78 0d 0d 77 |the inpu|t box..w|
|00003cd0| 31 53 70 65 63 2e 76 69 | 65 77 4c 69 6e 65 53 70 |1Spec.vi|ewLineSp|
|00003ce0| 61 63 69 6e 67 20 64 65 | 66 69 6e 65 73 20 74 68 |acing de|fines th|
|00003cf0| 65 20 73 70 61 63 69 6e | 67 20 6f 66 20 74 68 65 |e spacin|g of the|
|00003d00| 20 6c 69 6e 65 73 2c 20 | 69 6e 20 70 69 78 65 6c | lines, |in pixel|
|00003d10| 73 2e 0d 0d 77 31 53 70 | 65 63 2e 76 69 65 77 46 |s...w1Sp|ec.viewF|
|00003d20| 6c 61 67 73 20 0d 0d 73 | 65 74 73 20 74 68 65 20 |lags ..s|ets the |
|00003d30| 63 68 61 72 61 63 74 65 | 72 69 73 74 69 63 73 20 |characte|ristics |
|00003d40| 6f 66 20 74 68 65 20 69 | 6e 70 75 74 2c 20 69 6e |of the i|nput, in|
|00003d50| 63 6c 75 64 69 6e 67 20 | 72 65 63 6f 67 6e 69 74 |cluding |recognit|
|00003d60| 69 6f 6e 2e 20 54 68 65 | 20 64 65 66 61 75 6c 74 |ion. The| default|
|00003d70| 20 69 73 20 66 6f 72 20 | 67 65 6e 65 72 61 6c 20 | is for |general |
|00003d80| 75 73 65 3b 20 69 66 20 | 79 6f 75 20 77 61 6e 74 |use; if |you want|
|00003d90| 20 74 6f 20 73 70 65 63 | 69 66 79 20 79 6f 75 72 | to spec|ify your|
|00003da0| 20 6f 77 6e 2c 20 79 6f | 75 20 63 61 6e 20 61 64 | own, yo|u can ad|
|00003db0| 64 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |d the fo|llowing |
|00003dc0| 63 6f 6e 73 74 61 6e 74 | 73 20 74 6f 67 65 74 68 |constant|s togeth|
|00003dd0| 65 72 20 74 6f 20 67 65 | 74 20 74 68 65 20 62 65 |er to ge|t the be|
|00003de0| 68 61 76 69 6f 75 72 20 | 64 65 73 69 72 65 64 2e |haviour |desired.|
|00003df0| 20 59 6f 75 20 77 69 6c | 6c 20 6e 65 65 64 20 74 | You wil|l need t|
|00003e00| 6f 20 64 6f 20 73 6f 6d | 65 20 74 65 73 74 69 6e |o do som|e testin|
|00003e10| 67 20 74 6f 20 64 65 74 | 65 72 6d 69 6e 65 20 74 |g to det|ermine t|
|00003e20| 68 65 20 70 72 6f 70 65 | 72 20 63 6f 6d 62 69 6e |he prope|r combin|
|00003e30| 61 74 69 6f 6e 3a 20 6e | 6f 74 20 61 6c 6c 20 77 |ation: n|ot all w|
|00003e40| 6f 72 6b 20 74 6f 67 65 | 74 68 65 72 20 77 65 6c |ork toge|ther wel|
|00003e50| 6c 2e 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |l. For e|xample, |
|00003e60| 69 66 20 79 6f 75 20 75 | 73 65 20 76 4c 65 74 74 |if you u|se vLett|
|00003e70| 65 72 73 41 6c 6c 6f 77 | 65 64 2c 20 74 68 65 6e |ersAllow|ed, then|
|00003e80| 20 64 6f 20 6e 6f 74 20 | 75 73 65 20 76 4e 75 6d | do not |use vNum|
|00003e90| 62 65 72 73 41 6c 6c 6f | 77 65 64 2c 20 76 50 68 |bersAllo|wed, vPh|
|00003ea0| 6f 6e 65 46 69 65 6c 64 | 2c 20 76 44 61 74 65 46 |oneField|, vDateF|
|00003eb0| 69 65 6c 64 20 6f 72 20 | 76 54 69 6d 65 46 69 65 |ield or |vTimeFie|
|00003ec0| 6c 64 2e 0d 0d 56 56 49 | 53 49 42 4c 45 20 20 20 |ld...VVI|SIBLE |
|00003ed0| 20 20 20 20 4d 61 6b 65 | 20 74 68 65 20 6f 62 6a | Make| the obj|
|00003ee0| 65 63 74 20 76 69 73 69 | 62 6c 65 2e 20 41 6c 77 |ect visi|ble. Alw|
|00003ef0| 61 79 73 20 61 64 64 20 | 74 68 69 73 20 6f 6e 65 |ays add |this one|
|00003f00| 2e 0d 56 46 4c 4f 41 54 | 49 4e 47 20 20 20 20 20 |..VFLOAT|ING |
|00003f10| 20 20 50 75 74 20 74 68 | 65 20 6f 62 6a 65 63 74 | Put th|e object|
|00003f20| 20 69 6e 20 66 72 6f 6e | 74 20 6f 66 20 61 6e 79 | in fron|t of any|
|00003f30| 20 6f 74 68 65 72 73 0d | 56 43 4c 49 43 4b 41 42 | others.|VCLICKAB|
|00003f40| 4c 45 20 20 20 20 20 20 | 41 6c 6c 6f 77 20 70 65 |LE |Allow pe|
|00003f50| 6e 20 69 6e 70 75 74 2e | 20 41 6c 77 61 79 73 20 |n input.| Always |
|00003f60| 61 64 64 20 74 68 69 73 | 20 6f 6e 65 2e 0d 56 47 |add this| one..VG|
|00003f70| 45 53 54 55 52 45 53 41 | 4c 4c 4f 57 45 44 20 41 |ESTURESA|LLOWED A|
|00003f80| 6c 6c 6f 77 20 67 65 73 | 74 75 72 65 73 20 73 75 |llow ges|tures su|
|00003f90| 63 68 20 61 73 20 73 63 | 72 75 62 2e 41 6c 77 61 |ch as sc|rub.Alwa|
|00003fa0| 79 73 20 61 64 64 20 74 | 68 69 73 20 6f 6e 65 2e |ys add t|his one.|
|00003fb0| 0d 56 53 49 4e 47 4c 45 | 55 4e 49 54 20 20 20 20 |.VSINGLE|UNIT |
|00003fc0| 20 54 72 65 61 74 20 69 | 6e 70 75 74 20 61 73 20 | Treat i|nput as |
|00003fd0| 61 20 73 69 6e 67 6c 65 | 20 75 6e 69 74 2e 20 4d |a single| unit. M|
|00003fe0| 61 79 20 68 65 6c 70 20 | 77 69 74 68 20 70 68 6f |ay help |with pho|
|00003ff0| 6e 65 20 6e 75 6d 62 65 | 72 73 2e 0d 56 43 48 41 |ne numbe|rs..VCHA|
|00004000| 52 53 41 4c 4c 4f 57 45 | 44 20 20 20 45 6e 61 62 |RSALLOWE|D Enab|
|00004010| 6c 65 20 72 65 63 6f 67 | 6e 69 74 69 6f 6e 20 75 |le recog|nition u|
|00004020| 73 69 6e 67 20 64 69 63 | 74 69 6f 6e 61 72 79 2e |sing dic|tionary.|
|00004030| 0d 56 4c 45 54 54 45 52 | 53 41 4c 4c 4f 57 45 44 |.VLETTER|SALLOWED|
|00004040| 20 45 6e 61 62 6c 65 20 | 72 65 63 6f 67 6e 69 74 | Enable |recognit|
|00004050| 69 6f 6e 20 6c 65 74 74 | 65 72 20 62 79 20 6c 65 |ion lett|er by le|
|00004060| 74 74 65 72 2e 20 4e 75 | 6d 65 72 69 63 73 20 6e |tter. Nu|merics n|
|00004070| 6f 74 20 61 6c 6c 6f 77 | 65 64 2e 0d 56 4e 41 4d |ot allow|ed..VNAM|
|00004080| 45 46 49 45 4c 44 20 20 | 20 20 20 20 45 6e 61 62 |EFIELD | Enab|
|00004090| 6c 65 20 72 65 63 6f 67 | 6e 69 74 69 6f 6e 20 75 |le recog|nition u|
|000040a0| 73 69 6e 67 20 4e 61 6d | 65 73 20 64 69 63 74 69 |sing Nam|es dicti|
|000040b0| 6f 6e 61 72 79 2e 0d 56 | 4d 41 54 48 41 4c 4c 4f |onary..V|MATHALLO|
|000040c0| 57 45 44 20 20 20 20 41 | 6c 6c 6f 77 20 69 6e 70 |WED A|llow inp|
|000040d0| 75 74 20 6f 66 20 6d 61 | 74 68 20 73 79 6d 62 6f |ut of ma|th symbo|
|000040e0| 6c 73 2e 0d 56 50 55 4e | 43 54 55 41 54 49 4f 4e |ls..VPUN|CTUATION|
|000040f0| 41 4c 4c 4f 57 45 44 20 | 41 6c 6c 6f 77 20 69 6e |ALLOWED |Allow in|
|00004100| 70 75 74 20 6f 66 20 70 | 75 6e 63 74 75 61 74 69 |put of p|unctuati|
|00004110| 6f 6e 0d 56 43 41 50 53 | 52 45 51 55 49 52 45 44 |on.VCAPS|REQUIRED|
|00004120| 20 20 20 46 6f 72 63 65 | 73 20 66 69 72 73 74 20 | Force|s first |
|00004130| 6c 65 74 74 65 72 20 6f | 66 20 65 61 63 68 20 77 |letter o|f each w|
|00004140| 6f 72 64 20 74 6f 20 62 | 65 20 63 61 70 69 74 61 |ord to b|e capita|
|00004150| 6c 69 7a 65 64 0d 56 4e | 55 4d 42 45 52 53 41 4c |lized.VN|UMBERSAL|
|00004160| 4c 4f 57 45 44 20 45 6e | 61 62 6c 65 73 20 72 65 |LOWED En|ables re|
|00004170| 63 6f 67 6e 69 74 69 6f | 6e 20 6f 66 20 6e 75 6d |cognitio|n of num|
|00004180| 62 65 72 73 2c 20 69 6e | 63 6c 75 64 69 6e 67 20 |bers, in|cluding |
|00004190| 6d 6f 6e 65 74 61 72 79 | 20 61 6d 6f 75 6e 74 73 |monetary| amounts|
|000041a0| 0d 56 50 48 4f 4e 45 46 | 49 45 4c 44 20 20 20 20 |.VPHONEF|IELD |
|000041b0| 20 45 6e 61 62 6c 65 73 | 20 72 65 63 6f 67 6e 69 | Enables| recogni|
|000041c0| 74 69 6f 6e 20 6f 66 20 | 70 68 6f 6e 65 20 6e 75 |tion of |phone nu|
|000041d0| 6d 62 65 72 73 0d 56 44 | 41 54 45 46 49 45 4c 44 |mbers.VD|ATEFIELD|
|000041e0| 20 20 20 20 20 20 45 6e | 61 62 6c 65 73 20 72 65 | En|ables re|
|000041f0| 63 6f 67 6e 69 74 69 6f | 6e 20 6f 66 20 64 61 74 |cognitio|n of dat|
|00004200| 65 73 0d 56 54 49 4d 45 | 46 49 45 4c 44 20 20 20 |es.VTIME|FIELD |
|00004210| 20 20 20 45 6e 61 62 6c | 65 73 20 72 65 63 6f 67 | Enabl|es recog|
|00004220| 6e 69 74 69 6f 6e 20 6f | 66 20 74 69 6d 65 73 0d |nition o|f times.|
|00004230| 0d 4f 74 68 65 72 20 73 | 6c 6f 74 73 3a 20 76 69 |.Other s|lots: vi|
|00004240| 65 77 42 6f 75 6e 64 73 | 2c 20 76 69 65 77 46 6f |ewBounds|, viewFo|
|00004250| 6e 74 2c 20 76 69 65 77 | 46 6f 72 6d 61 74 37 2e |nt, view|Format7.|
|00004260| 20 0d 0d 0d 0d 31 30 2e | 20 57 41 49 54 20 6d 69 | ....10.| WAIT mi|
|00004270| 6c 6c 69 73 65 63 6f 6e | 64 73 20 28 73 74 61 74 |llisecon|ds (stat|
|00004280| 65 6d 65 6e 74 29 0d 0d | 54 68 65 20 57 41 49 54 |ement)..|The WAIT|
|00004290| 20 73 74 61 74 65 6d 65 | 6e 74 20 70 61 75 73 65 | stateme|nt pause|
|000042a0| 73 20 74 68 65 20 65 78 | 65 63 75 74 69 6f 6e 20 |s the ex|ecution |
|000042b0| 6f 66 20 74 68 65 20 70 | 72 6f 67 72 61 6d 20 74 |of the p|rogram t|
|000042c0| 65 6d 70 6f 72 61 72 69 | 6c 79 2e 20 41 66 74 65 |emporari|ly. Afte|
|000042d0| 72 20 74 68 65 20 73 70 | 65 63 69 66 69 65 64 20 |r the sp|ecified |
|000042e0| 6e 75 6d 62 65 72 20 6f | 66 20 6d 69 6c 6c 69 73 |number o|f millis|
|000042f0| 65 63 6f 6e 64 73 20 68 | 61 73 20 70 61 73 73 65 |econds h|as passe|
|00004300| 64 2c 20 65 78 65 63 75 | 74 69 6f 6e 20 72 65 73 |d, execu|tion res|
|00004310| 75 6d 65 73 2e 20 54 68 | 65 20 6c 61 72 67 65 73 |umes. Th|e larges|
|00004320| 74 20 61 6c 6c 6f 77 61 | 62 6c 65 20 76 61 6c 75 |t allowa|ble valu|
|00004330| 65 20 66 6f 72 20 6d 69 | 6c 6c 69 73 65 63 6f 6e |e for mi|llisecon|
|00004340| 64 73 20 69 73 20 38 35 | 38 39 39 33 2c 20 61 20 |ds is 85|8993, a |
|00004350| 62 69 74 20 6f 76 65 72 | 20 31 34 20 6d 69 6e 75 |bit over| 14 minu|
|00004360| 74 65 73 2e 0d 0d 57 41 | 49 54 20 77 69 6c 6c 20 |tes...WA|IT will |
|00004370| 61 6c 73 6f 20 62 65 20 | 65 6e 64 65 64 20 69 66 |also be |ended if|
|00004380| 20 61 20 77 69 6e 64 6f | 77 20 74 68 61 74 20 68 | a windo|w that h|
|00004390| 61 73 20 61 20 47 4f 54 | 4f 20 6f 72 20 47 4f 53 |as a GOT|O or GOS|
|000043a0| 55 42 20 73 6c 6f 74 20 | 69 73 20 74 61 70 70 65 |UB slot |is tappe|
|000043b0| 64 20 6f 6e 2e 20 45 78 | 65 63 75 74 69 6f 6e 20 |d on. Ex|ecution |
|000043c0| 69 73 20 74 68 65 6e 20 | 74 72 61 6e 73 66 65 72 |is then |transfer|
|000043d0| 72 65 64 20 74 6f 20 74 | 68 65 20 73 74 61 74 65 |red to t|he state|
|000043e0| 6d 65 6e 74 20 73 70 65 | 63 69 66 69 65 64 20 69 |ment spe|cified i|
|000043f0| 6e 20 74 68 65 20 73 6c | 6f 74 2e 0d 4f 70 65 72 |n the sl|ot..Oper|
|00004400| 61 74 69 6f 6e 61 6c 6c | 79 2c 20 57 41 49 54 20 |ationall|y, WAIT |
|00004410| 77 6f 72 6b 73 20 61 73 | 20 69 6e 20 70 72 65 76 |works as| in prev|
|00004420| 69 6f 75 73 20 72 65 76 | 73 2e 20 48 6f 77 65 76 |ious rev|s. Howev|
|00004430| 65 72 2c 20 69 74 73 20 | 6f 70 65 72 61 74 69 6f |er, its |operatio|
|00004440| 6e 20 69 73 20 69 6d 70 | 72 6f 76 65 64 3a 20 77 |n is imp|roved: w|
|00004450| 68 65 72 65 61 73 20 74 | 68 65 20 6f 6c 64 20 6f |hereas t|he old o|
|00004460| 6e 65 20 77 6f 75 6c 64 | 20 6f 6e 6c 79 20 69 6e |ne would| only in|
|00004470| 74 65 72 72 75 70 74 20 | 61 74 20 74 68 65 20 73 |terrupt |at the s|
|00004480| 74 61 72 74 20 6f 72 20 | 65 6e 64 20 6f 66 20 74 |tart or |end of t|
|00004490| 68 65 20 77 61 69 74 20 | 74 69 6d 65 2c 20 69 74 |he wait |time, it|
|000044a0| 20 77 69 6c 6c 20 6e 6f | 77 20 69 6e 74 65 72 72 | will no|w interr|
|000044b0| 75 70 74 20 61 74 20 61 | 6e 79 20 70 6f 69 6e 74 |upt at a|ny point|
|000044c0| 20 69 6e 20 64 75 72 69 | 6e 67 20 74 68 65 20 77 | in duri|ng the w|
|000044d0| 61 69 74 20 74 69 6d 65 | 20 69 66 20 61 20 77 69 |ait time| if a wi|
|000044e0| 6e 64 6f 77 20 69 73 20 | 74 61 70 70 65 64 2e 20 |ndow is |tapped. |
|000044f0| 41 6c 73 6f 2c 20 6e 6f | 74 65 20 74 68 61 74 20 |Also, no|te that |
|00004500| 74 68 65 20 6d 61 6e 75 | 61 6c 20 69 73 20 69 6e |the manu|al is in|
|00004510| 63 6f 72 72 65 63 74 3a | 20 74 68 65 20 77 61 69 |correct:| the wai|
|00004520| 74 20 74 69 6d 65 20 69 | 73 20 69 6e 20 6d 69 6c |t time i|s in mil|
|00004530| 6c 69 73 65 63 6f 6e 64 | 73 2c 20 6e 6f 74 20 73 |lisecond|s, not s|
|00004540| 69 78 74 69 65 74 68 73 | 20 6f 66 20 61 20 73 65 |ixtieths| of a se|
|00004550| 63 6f 6e 64 2e 20 49 66 | 20 6e 6f 20 76 61 6c 75 |cond. If| no valu|
|00004560| 65 20 66 6f 72 20 6d 69 | 6c 6c 69 73 65 63 6f 6e |e for mi|llisecon|
|00004570| 64 73 20 69 73 20 73 75 | 70 70 6c 69 65 64 2c 20 |ds is su|pplied, |
|00004580| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 77 69 6c 6c |the prog|ram will|
|00004590| 20 77 61 69 74 20 66 6f | 72 20 35 30 30 20 6d 69 | wait fo|r 500 mi|
|000045a0| 6c 6c 69 73 65 63 6f 6e | 64 73 20 28 6f 6e 65 20 |llisecon|ds (one |
|000045b0| 68 61 6c 66 20 73 65 63 | 6f 6e 64 29 2e 0d 0d 0d |half sec|ond)....|
|000045c0| 0d 31 31 2e 20 53 65 6e | 64 49 52 72 65 6d 6f 74 |.11. Sen|dIRremot|
|000045d0| 65 28 63 6f 6d 6d 61 6e | 64 41 72 72 61 79 2c 20 |e(comman|dArray, |
|000045e0| 72 65 70 65 61 74 63 6f | 75 6e 74 29 0d 0d 54 68 |repeatco|unt)..Th|
|000045f0| 69 73 20 66 75 6e 63 74 | 69 6f 6e 20 73 65 6e 64 |is funct|ion send|
|00004600| 73 20 61 20 63 6f 6d 6d | 61 6e 64 20 74 6f 20 61 |s a comm|and to a|
|00004610| 6e 20 69 6e 66 72 61 72 | 65 64 20 72 65 6d 6f 74 |n infrar|ed remot|
|00004620| 65 6c 79 20 63 6f 6e 74 | 72 6f 6c 6c 65 64 20 64 |ely cont|rolled d|
|00004630| 65 76 69 63 65 2c 20 73 | 75 63 68 20 61 73 20 61 |evice, s|uch as a|
|00004640| 20 54 56 2c 20 56 43 52 | 20 6f 72 20 43 44 20 70 | TV, VCR| or CD p|
|00004650| 6c 61 79 65 72 2e 20 46 | 6f 72 20 66 75 6c 6c 20 |layer. F|or full |
|00004660| 64 65 74 61 69 6c 73 2c | 20 73 65 65 20 54 65 63 |details,| see Tec|
|00004670| 68 20 4e 6f 74 65 20 6f | 6e 20 43 6f 6e 74 72 6f |h Note o|n Contro|
|00004680| 6c 6c 69 6e 67 20 49 52 | 20 52 65 6d 6f 74 65 20 |lling IR| Remote |
|00004690| 44 65 76 69 63 65 73 2e | 0d 0d 0d 31 32 2e 20 49 |Devices.|...12. I|
|000046a0| 6e 66 72 61 72 65 64 20 | 63 6f 6d 6d 75 6e 69 63 |nfrared |communic|
|000046b0| 61 74 69 6f 6e 73 0d 0d | 41 20 6e 65 77 20 63 68 |ations..|A new ch|
|000046c0| 65 63 6b 62 6f 78 20 68 | 61 73 20 62 65 65 6e 20 |eckbox h|as been |
|000046d0| 61 64 64 65 64 20 74 6f | 20 74 68 65 20 73 63 72 |added to| the scr|
|000046e0| 65 65 6e 3a 20 22 43 6f | 6e 6e 65 63 74 20 49 52 |een: "Co|nnect IR|
|000046f0| 22 2e 20 49 74 20 6f 70 | 65 72 61 74 65 73 20 69 |". It op|erates i|
|00004700| 6e 20 65 78 61 63 74 6c | 79 20 74 68 65 20 73 61 |n exactl|y the sa|
|00004710| 6d 65 20 77 61 79 20 61 | 73 20 22 55 73 65 20 61 |me way a|s "Use a|
|00004720| 20 53 65 72 69 61 6c 20 | 54 65 72 6d 69 6e 61 6c | Serial |Terminal|
|00004730| 22 20 63 68 65 63 6b 62 | 6f 78 2c 20 69 2e 65 2e |" checkb|ox, i.e.|
|00004740| 20 79 6f 75 20 63 61 6e | 20 6f 70 65 72 61 74 65 | you can| operate|
|00004750| 20 4e 53 20 42 41 53 49 | 43 20 6f 76 65 72 20 61 | NS BASI|C over a|
|00004760| 6e 20 49 52 20 63 6f 6e | 6e 65 63 74 69 6f 6e 2e |n IR con|nection.|
|00004770| 0d 0d 54 6f 20 72 65 64 | 72 65 63 74 20 50 52 49 |..To red|rect PRI|
|00004780| 4e 54 20 61 6e 64 20 49 | 4e 50 55 54 20 73 74 61 |NT and I|NPUT sta|
|00004790| 74 65 6d 65 6e 74 73 20 | 74 6f 20 74 68 65 20 69 |tements |to the i|
|000047a0| 6e 66 72 61 72 65 64 20 | 70 6f 72 74 2c 20 75 73 |nfrared |port, us|
|000047b0| 65 20 74 68 65 20 63 6f | 6d 6d 61 6e 64 0d 45 4e |e the co|mmand.EN|
|000047c0| 56 49 52 4f 4e 20 49 4f | 3d 22 49 52 22 0d 0d 47 |VIRON IO|="IR"..G|
|000047d0| 65 6e 65 72 61 6c 6c 79 | 2c 20 63 6f 6d 6d 75 6e |enerally|, commun|
|000047e0| 69 63 61 74 69 6e 67 20 | 76 69 61 20 74 68 65 20 |icating |via the |
|000047f0| 49 52 20 70 6f 72 74 20 | 69 73 20 69 64 65 6e 74 |IR port |is ident|
|00004800| 69 63 61 6c 20 74 6f 20 | 6f 70 65 72 61 74 69 6e |ical to |operatin|
|00004810| 67 20 6f 76 65 72 20 74 | 68 65 20 73 65 72 69 61 |g over t|he seria|
|00004820| 6c 20 70 6f 72 74 2e 20 | 54 68 65 20 66 6f 6c 6c |l port. |The foll|
|00004830| 6f 77 69 6e 67 20 65 6e | 76 69 72 6f 6e 6d 65 6e |owing en|vironmen|
|00004840| 74 20 76 61 72 69 61 62 | 6c 65 73 20 63 61 6e 20 |t variab|les can |
|00004850| 62 65 20 73 65 74 20 66 | 6f 72 20 74 68 65 20 49 |be set f|or the I|
|00004860| 52 20 70 6f 72 74 3a 0d | 0d 49 52 2e 63 6f 6e 6e |R port:.|.IR.conn|
|00004870| 65 63 74 20 20 20 54 68 | 65 20 6d 65 73 73 61 67 |ect Th|e messag|
|00004880| 65 20 74 68 61 74 20 67 | 65 74 73 20 73 65 6e 64 |e that g|ets send|
|00004890| 20 6f 6e 20 65 73 74 61 | 62 6c 69 73 68 69 6e 67 | on esta|blishing|
|000048a0| 20 61 20 63 6f 6e 6e 65 | 63 74 69 6f 6e 2e 20 54 | a conne|ction. T|
|000048b0| 68 65 20 64 65 66 61 75 | 6c 74 20 76 61 6c 75 65 |he defau|lt value|
|000048c0| 20 69 73 20 22 43 6f 6e | 6e 65 63 74 2e 22 20 26 | is "Con|nect." &|
|000048d0| 20 43 48 52 28 31 33 29 | 2e 0d 0d 49 52 2e 75 6e | CHR(13)|...IR.un|
|000048e0| 50 65 6e 64 20 20 20 20 | 20 20 54 68 65 20 63 68 |Pend | The ch|
|000048f0| 61 72 61 63 74 65 72 20 | 74 68 61 74 20 69 73 20 |aracter |that is |
|00004900| 75 73 65 64 20 74 6f 20 | 74 65 72 6d 69 6e 61 74 |used to |terminat|
|00004910| 65 20 61 6e 20 69 6e 70 | 75 74 20 66 69 65 6c 64 |e an inp|ut field|
|00004920| 2e 20 54 68 65 20 64 65 | 66 61 75 6c 74 20 76 61 |. The de|fault va|
|00004930| 6c 75 65 20 69 73 20 43 | 52 20 6f 72 20 43 48 52 |lue is C|R or CHR|
|00004940| 28 31 33 29 2e 20 20 4e | 6f 74 65 3a 20 75 6e 50 |(13). N|ote: unP|
|00004950| 65 6e 64 20 6d 75 73 74 | 20 62 65 20 61 20 63 68 |end must| be a ch|
|00004960| 61 72 61 63 74 65 72 2c | 20 73 65 74 20 62 79 20 |aracter,| set by |
|00004970| 75 73 69 6e 67 20 74 68 | 65 20 43 48 52 28 78 29 |using th|e CHR(x)|
|00004980| 20 66 75 6e 63 74 69 6f | 6e 2e 0d 0d 49 52 2e 62 | functio|n...IR.b|
|00004990| 79 74 65 43 6f 75 6e 74 | 54 68 65 20 6e 75 6d 62 |yteCount|The numb|
|000049a0| 65 72 20 6f 66 20 63 68 | 61 72 61 63 74 65 72 73 |er of ch|aracters|
|000049b0| 20 74 6f 20 61 63 63 65 | 70 74 20 62 65 66 6f 72 | to acce|pt befor|
|000049c0| 65 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 20 |e automa|tically |
|000049d0| 75 6e 70 65 6e 64 69 6e | 67 2e 20 45 69 74 68 65 |unpendin|g. Eithe|
|000049e0| 72 20 49 52 2e 75 6e 50 | 65 6e 64 20 6f 72 20 49 |r IR.unP|end or I|
|000049f0| 52 2e 62 79 74 65 43 6f | 75 6e 74 20 6d 75 73 74 |R.byteCo|unt must|
|00004a00| 20 62 65 20 6e 75 6c 6c | 2e 0d 0d 0d 49 52 20 63 | be null|....IR c|
|00004a10| 6f 6d 6d 75 6e 69 63 61 | 74 69 6f 6e 73 20 64 6f |ommunica|tions do|
|00004a20| 20 6e 6f 74 20 68 61 76 | 65 20 61 6e 20 61 73 73 | not hav|e an ass|
|00004a30| 6f 63 69 61 74 65 64 20 | 62 61 75 64 20 72 61 74 |ociated |baud rat|
|00004a40| 65 2c 20 70 61 72 69 74 | 79 2c 20 6f 72 20 62 69 |e, parit|y, or bi|
|00004a50| 74 73 2e 20 4f 76 65 72 | 61 6c 6c 20 74 68 72 6f |ts. Over|all thro|
|00004a60| 75 67 68 70 75 74 20 6f | 66 20 64 61 74 61 20 69 |ughput o|f data i|
|00004a70| 73 20 6e 6f 74 20 61 73 | 20 66 61 73 74 20 61 73 |s not as| fast as|
|00004a80| 20 74 68 72 6f 75 67 68 | 20 74 68 65 20 73 65 72 | through| the ser|
|00004a90| 69 61 6c 20 70 6f 72 74 | 20 77 6f 75 6c 64 20 62 |ial port| would b|
|00004aa0| 65 20 61 74 20 39 36 30 | 30 20 62 61 75 64 2e 20 |e at 960|0 baud. |
|00004ab0| 57 65 27 76 65 20 66 6f | 75 6e 64 20 74 68 61 74 |We've fo|und that|
|00004ac0| 20 70 75 74 74 69 6e 67 | 20 61 20 31 2f 36 30 74 | putting| a 1/60t|
|00004ad0| 68 20 73 65 63 6f 6e 64 | 20 64 65 6c 61 79 20 62 |h second| delay b|
|00004ae0| 65 74 77 65 65 6e 20 63 | 68 61 72 61 63 74 65 72 |etween c|haracter|
|00004af0| 73 20 62 65 69 6e 67 20 | 73 65 6e 74 20 61 74 20 |s being |sent at |
|00004b00| 39 36 30 30 20 62 61 75 | 64 20 74 6f 20 74 68 65 |9600 bau|d to the|
|00004b10| 20 4e 65 77 74 6f 6e 20 | 69 73 20 72 65 71 75 69 | Newton |is requi|
|00004b20| 72 65 64 20 74 6f 20 6b | 65 65 70 20 64 61 74 61 |red to k|eep data|
|00004b30| 20 66 72 6f 6d 20 62 65 | 69 6e 67 20 6c 6f 73 74 | from be|ing lost|
|00004b40| 2e 20 20 57 68 69 6c 65 | 20 74 68 65 72 65 20 69 |. While| there i|
|00004b50| 73 20 62 75 66 66 65 72 | 69 6e 67 2c 20 74 68 65 |s buffer|ing, the|
|00004b60| 72 65 20 69 73 20 6e 6f | 20 62 75 69 6c 74 20 69 |re is no| built i|
|00004b70| 6e 20 66 6c 6f 77 20 63 | 6f 6e 74 72 6f 6c 20 6f |n flow c|ontrol o|
|00004b80| 6e 20 74 68 65 20 49 52 | 20 70 6f 72 74 2c 20 73 |n the IR| port, s|
|00004b90| 6f 20 79 6f 75 27 6c 6c | 20 6e 65 65 64 20 74 6f |o you'll| need to|
|00004ba0| 20 62 75 69 6c 64 20 74 | 68 61 74 20 28 61 6e 64 | build t|hat (and|
|00004bb0| 20 65 72 72 6f 72 20 63 | 68 65 63 6b 69 6e 67 29 | error c|hecking)|
|00004bc0| 20 69 6e 74 6f 20 79 6f | 75 72 20 63 6f 6d 6d 75 | into yo|ur commu|
|00004bd0| 6e 69 63 61 74 69 6f 6e | 73 20 63 6f 64 65 2e 20 |nication|s code. |
|00004be0| 4f 6e 20 69 6e 70 75 74 | 2c 20 6f 6e 6c 79 20 63 |On input|, only c|
|00004bf0| 68 61 72 61 63 74 65 72 | 73 20 77 69 74 68 20 61 |haracter|s with a|
|00004c00| 73 63 69 69 20 76 61 6c | 75 65 73 20 31 20 74 6f |scii val|ues 1 to|
|00004c10| 20 31 32 37 20 61 72 65 | 20 72 65 63 65 69 76 65 | 127 are| receive|
|00004c20| 64 2e 20 57 65 27 76 65 | 20 61 6c 73 6f 20 66 6f |d. We've| also fo|
|00004c30| 75 6e 64 20 74 68 61 74 | 20 74 68 65 20 66 69 72 |und that| the fir|
|00004c40| 73 74 20 63 68 61 72 61 | 63 74 65 72 20 74 72 61 |st chara|cter tra|
|00004c50| 6e 73 6d 69 74 74 65 64 | 20 74 6f 20 74 68 65 20 |nsmitted| to the |
|00004c60| 4e 65 77 74 6f 6e 20 69 | 73 20 73 6f 6d 65 74 69 |Newton i|s someti|
|00004c70| 6d 65 73 20 6e 6f 74 20 | 72 65 63 65 69 76 65 64 |mes not |received|
|00004c80| 20 70 72 6f 70 65 72 6c | 79 3a 20 6f 6e 63 65 20 | properl|y: once |
|00004c90| 74 68 65 20 64 65 76 69 | 63 65 73 20 61 72 65 20 |the devi|ces are |
|00004ca0| 73 79 6e 63 68 72 6f 6e | 69 73 65 64 2c 20 68 6f |synchron|ised, ho|
|00004cb0| 77 65 76 65 72 2c 20 69 | 74 20 67 65 74 73 20 66 |wever, i|t gets f|
|00004cc0| 61 69 72 6c 79 20 72 65 | 6c 69 61 62 6c 65 2e 0d |airly re|liable..|
|00004cd0| 0d 54 68 65 72 65 20 69 | 73 20 61 6c 73 6f 20 61 |.There i|s also a|
|00004ce0| 20 63 68 65 63 6b 62 6f | 78 20 74 68 61 74 20 61 | checkbo|x that a|
|00004cf0| 6c 6c 6f 77 73 20 70 72 | 6f 67 72 61 6d 20 65 64 |llows pr|ogram ed|
|00004d00| 69 74 69 6e 67 20 74 68 | 72 75 20 74 68 65 20 49 |iting th|ru the I|
|00004d10| 52 20 70 6f 72 74 3a 20 | 74 68 69 73 20 73 65 65 |R port: |this see|
|00004d20| 6d 73 20 74 6f 20 77 6f | 72 6b 20 61 64 65 71 75 |ms to wo|rk adequ|
|00004d30| 61 74 65 6c 79 20 66 6f | 72 20 70 61 74 63 68 69 |ately fo|r patchi|
|00004d40| 6e 67 20 61 20 6c 69 6e | 65 20 6f 66 20 63 6f 64 |ng a lin|e of cod|
|00004d50| 65 20 68 65 72 65 20 6f | 72 20 74 68 65 72 65 2c |e here o|r there,|
|00004d60| 20 62 75 74 20 74 68 65 | 20 66 6c 6f 77 20 63 6f | but the| flow co|
|00004d70| 6e 74 72 6f 6c 20 70 72 | 6f 62 6c 65 6d 73 20 61 |ntrol pr|oblems a|
|00004d80| 72 69 73 65 20 69 66 20 | 79 6f 75 20 61 74 74 65 |rise if |you atte|
|00004d90| 6d 70 74 20 74 6f 20 73 | 65 6e 64 20 74 6f 6f 20 |mpt to s|end too |
|00004da0| 6d 75 63 68 20 64 61 74 | 61 20 61 74 20 6f 6e 63 |much dat|a at onc|
|00004db0| 65 2e 20 4f 6e 63 65 20 | 61 67 61 69 6e 2c 20 61 |e. Once |again, a|
|00004dc0| 20 77 6f 72 6b 61 72 6f | 75 6e 64 20 64 65 6c 61 | workaro|und dela|
|00004dd0| 79 20 61 74 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |y at the| end of |
|00004de0| 65 61 63 68 20 6c 69 6e | 65 20 74 72 61 6e 73 6d |each lin|e transm|
|00004df0| 69 74 74 65 64 20 73 65 | 65 6d 73 20 74 6f 20 68 |itted se|ems to h|
|00004e00| 65 6c 70 2e 0d 4e 53 20 | 42 41 53 49 43 20 64 6f |elp..NS |BASIC do|
|00004e10| 65 73 20 6e 6f 74 20 63 | 75 72 72 65 6e 74 6c 79 |es not c|urrently|
|00004e20| 20 73 75 70 70 6f 72 74 | 20 74 68 65 20 53 68 61 | support| the Sha|
|00004e30| 72 70 20 6f 72 20 4e 65 | 77 74 6f 6e 20 49 52 20 |rp or Ne|wton IR |
|00004e40| 74 72 61 6e 6d 69 73 73 | 69 6f 6e 20 70 72 6f 74 |tranmiss|ion prot|
|00004e50| 6f 63 6f 6c 73 2e 0d 0d | 0d 31 33 2e 20 45 6d 62 |ocols...|.13. Emb|
|00004e60| 65 64 64 65 64 20 71 75 | 6f 74 65 20 73 69 67 6e |edded qu|ote sign|
|00004e70| 73 20 69 6e 20 73 74 72 | 69 6e 67 73 0d 0d 49 74 |s in str|ings..It|
|00004e80| 20 69 73 20 6e 6f 77 20 | 6c 65 67 61 6c 20 74 6f | is now |legal to|
|00004e90| 20 65 6d 62 65 64 20 61 | 20 71 75 6f 74 65 20 73 | embed a| quote s|
|00004ea0| 69 67 6e 20 69 6e 20 61 | 20 73 74 72 69 6e 67 20 |ign in a| string |
|00004eb0| 62 79 20 70 72 65 63 65 | 64 69 6e 67 20 69 74 20 |by prece|ding it |
|00004ec0| 62 79 20 61 20 62 61 63 | 6b 73 6c 61 73 68 2e 0d |by a bac|kslash..|
|00004ed0| 45 78 61 6d 70 6c 65 3a | 0d 2a 20 50 52 49 4e 54 |Example:|.* PRINT|
|00004ee0| 20 22 5c 22 48 65 79 5c | 22 2c 20 68 65 20 73 61 | "\"Hey\|", he sa|
|00004ef0| 69 64 2e 22 0d 2a 20 22 | 48 65 79 22 2c 20 68 65 |id.".* "|Hey", he|
|00004f00| 20 73 61 69 64 2e 0d 0d | 0d 31 34 2e 20 49 4e 50 | said...|.14. INP|
|00004f10| 55 54 20 63 61 6e 20 6e | 6f 77 20 68 61 6e 64 6c |UT can n|ow handl|
|00004f20| 65 20 63 6f 6d 6d 61 73 | 0d 0d 41 6e 20 49 4e 50 |e commas|..An INP|
|00004f30| 55 54 20 73 74 61 74 65 | 6d 65 6e 74 20 77 69 74 |UT state|ment wit|
|00004f40| 68 20 61 20 73 69 6e 67 | 6c 65 20 76 61 72 69 61 |h a sing|le varia|
|00004f50| 62 6c 65 20 77 69 6c 6c | 20 6e 6f 77 20 74 72 65 |ble will| now tre|
|00004f60| 61 74 20 74 68 65 20 69 | 6e 70 75 74 20 22 53 6d |at the i|nput "Sm|
|00004f70| 69 74 68 2c 20 42 6f 62 | 22 20 61 73 20 61 20 73 |ith, Bob|" as a s|
|00004f80| 69 6e 67 6c 65 20 72 65 | 73 70 6f 6e 73 65 2c 20 |ingle re|sponse, |
|00004f90| 69 6e 73 74 65 61 64 20 | 6f 66 20 74 77 6f 20 73 |instead |of two s|
|00004fa0| 65 70 61 72 61 74 65 20 | 6f 6e 65 73 2e 20 54 68 |eparate |ones. Th|
|00004fb0| 65 20 63 6f 6d 6d 61 20 | 69 73 20 69 6e 63 6c 75 |e comma |is inclu|
|00004fc0| 64 65 64 20 69 6e 20 74 | 68 65 20 49 4e 50 55 54 |ded in t|he INPUT|
|00004fd0| 20 73 74 72 69 6e 67 2e | 0d 45 78 61 6d 70 6c 65 | string.|.Example|
|00004fe0| 0d 2a 20 31 30 20 49 4e | 50 55 54 20 58 0d 2a 20 |.* 10 IN|PUT X.* |
|00004ff0| 32 30 20 50 52 49 4e 54 | 20 58 0d 2a 20 72 75 6e |20 PRINT| X.* run|
|00005000| 0d 3f 20 53 6d 69 74 68 | 2c 20 42 6f 62 0d 53 6d |.? Smith|, Bob.Sm|
|00005010| 69 74 68 2c 20 42 6f 62 | 0d 2a 20 31 30 20 49 4e |ith, Bob|.* 10 IN|
|00005020| 50 55 54 20 58 2c 59 0d | 2a 20 32 30 20 50 52 49 |PUT X,Y.|* 20 PRI|
|00005030| 4e 54 20 58 2c 59 0d 72 | 75 6e 0d 3f 20 53 6d 69 |NT X,Y.r|un.? Smi|
|00005040| 74 68 2c 20 42 6f 62 0d | 53 6d 69 74 68 20 20 20 |th, Bob.|Smith |
|00005050| 20 20 20 20 20 20 42 6f | 62 0d 2a 0d 0d 0d 31 35 | Bo|b.*...15|
|00005060| 2e 20 53 65 72 69 61 6c | 20 49 6e 70 75 74 20 49 |. Serial| Input I|
|00005070| 6e 66 6f 72 6d 61 74 69 | 6f 6e 0d 0d 54 6f 20 72 |nformati|on..To r|
|00005080| 65 6c 69 61 62 6c 79 20 | 61 63 63 65 70 74 20 6c |eliably |accept l|
|00005090| 61 72 67 65 72 20 61 6d | 6f 75 6e 74 73 20 6f 66 |arger am|ounts of|
|000050a0| 20 64 61 74 61 20 66 72 | 6f 6d 20 74 68 65 20 53 | data fr|om the S|
|000050b0| 65 72 69 61 6c 20 70 6f | 72 74 2c 20 61 20 66 65 |erial po|rt, a fe|
|000050c0| 77 20 74 68 69 6e 67 73 | 20 73 68 6f 75 6c 64 20 |w things| should |
|000050d0| 62 65 20 6b 65 70 74 20 | 69 6e 20 6d 69 6e 64 2e |be kept |in mind.|
|000050e0| 20 4b 65 65 70 20 79 6f | 75 72 20 6c 6f 6f 70 20 | Keep yo|ur loop |
|000050f0| 74 68 61 74 20 61 63 63 | 65 70 74 73 20 74 68 65 |that acc|epts the|
|00005100| 20 64 61 74 61 20 61 73 | 20 73 68 6f 72 74 20 61 | data as| short a|
|00005110| 73 20 70 6f 73 73 69 62 | 6c 65 2c 20 61 76 6f 69 |s possib|le, avoi|
|00005120| 64 20 64 6f 69 6e 67 20 | 50 52 49 4e 54 20 61 6e |d doing |PRINT an|
|00005130| 64 20 57 41 49 54 20 73 | 74 61 74 65 6d 65 6e 74 |d WAIT s|tatement|
|00005140| 73 2c 20 61 6e 64 20 74 | 75 72 6e 20 6f 66 66 20 |s, and t|urn off |
|00005150| 74 68 65 20 69 6e 70 75 | 74 20 70 72 6f 6d 70 74 |the inpu|t prompt|
|00005160| 2e 20 46 6f 72 20 6c 61 | 72 67 65 72 20 61 6d 6f |. For la|rger amo|
|00005170| 75 6e 74 73 20 6f 66 20 | 64 61 74 61 2c 20 61 20 |unts of |data, a |
|00005180| 64 65 6c 61 79 20 62 65 | 74 77 65 65 6e 20 6c 69 |delay be|tween li|
|00005190| 6e 65 73 20 6f 72 20 61 | 20 62 61 75 64 20 72 61 |nes or a| baud ra|
|000051a0| 74 65 20 6c 6f 77 65 72 | 20 74 68 61 6e 20 39 36 |te lower| than 96|
|000051b0| 30 30 20 6d 61 79 20 62 | 65 20 6e 65 63 65 73 73 |00 may b|e necess|
|000051c0| 61 72 79 2e 20 48 65 72 | 65 20 61 20 73 61 6d 70 |ary. Her|e a samp|
|000051d0| 6c 65 20 74 68 61 74 20 | 73 65 65 6d 73 20 74 6f |le that |seems to|
|000051e0| 20 77 6f 72 6b 20 77 65 | 6c 6c 3a 0d 30 30 31 30 | work we|ll:.0010|
|000051f0| 20 64 69 6d 20 61 5b 33 | 30 30 5d 0d 30 30 31 35 | dim a[3|00].0015|
|00005200| 20 65 6e 76 69 72 6f 6e | 20 69 6e 70 75 74 70 72 | environ| inputpr|
|00005210| 6f 6d 70 74 3d 22 22 0d | 30 30 31 36 20 77 69 6e |ompt="".|0016 win|
|00005220| 64 6f 77 20 77 2c 77 73 | 0d 30 30 31 37 20 73 68 |dow w,ws|.0017 sh|
|00005230| 6f 77 20 77 0d 30 30 32 | 30 20 66 6f 72 20 69 3d |ow w.002|0 for i=|
|00005240| 30 20 74 6f 20 32 39 39 | 0d 30 30 32 35 20 20 20 |0 to 299|.0025 |
|00005250| 77 70 72 69 6e 74 20 77 | 2c 69 0d 30 30 33 30 20 |wprint w|,i.0030 |
|00005260| 20 20 69 6e 70 75 74 20 | 61 5b 69 5d 0d 30 30 33 | input |a[i].003|
|00005270| 35 20 20 20 69 66 20 61 | 5b 69 5d 3d 22 45 4e 44 |5 if a|[i]="END|
|00005280| 22 20 74 68 65 6e 20 73 | 74 6f 70 0d 30 30 34 30 |" then s|top.0040|
|00005290| 20 6e 65 78 74 20 69 0d | 0d 31 36 2e 20 4d 6f 6e | next i.|.16. Mon|
|000052a0| 61 63 6f 20 46 6f 6e 74 | 0d 0d 54 68 65 20 4d 6f |aco Font|..The Mo|
|000052b0| 6e 61 63 6f 20 66 6f 6e | 74 20 69 73 20 6e 6f 77 |naco fon|t is now|
|000052c0| 20 73 74 6f 72 65 64 20 | 61 73 20 61 20 6c 6f 61 | stored |as a loa|
|000052d0| 64 61 62 6c 65 20 70 61 | 63 6b 61 67 65 20 77 69 |dable pa|ckage wi|
|000052e0| 74 68 69 6e 20 4e 53 20 | 42 41 53 49 43 2e 20 49 |thin NS |BASIC. I|
|000052f0| 66 20 4d 6f 6e 61 63 6f | 20 69 73 20 6e 6f 74 20 |f Monaco| is not |
|00005300| 70 72 65 73 65 6e 74 20 | 6f 6e 20 74 68 65 20 73 |present |on the s|
|00005310| 79 73 74 65 6d 2c 20 4e | 53 20 42 41 53 49 43 20 |ystem, N|S BASIC |
|00005320| 69 6e 73 74 61 6c 6c 73 | 20 69 74 20 6f 6e 20 74 |installs| it on t|
|00005330| 68 65 20 64 65 66 61 75 | 6c 74 20 73 74 6f 72 65 |he defau|lt store|
|00005340| 2e 20 54 68 69 73 20 65 | 6c 69 6d 69 6e 61 74 65 |. This e|liminate|
|00005350| 73 20 74 68 65 20 70 72 | 6f 62 6c 65 6d 20 6f 66 |s the pr|oblem of|
|00005360| 20 70 6f 74 65 6e 74 69 | 61 6c 20 6c 6f 73 73 20 | potenti|al loss |
|00005370| 6f 66 20 74 68 65 20 4d | 6f 6e 61 63 6f 20 66 6f |of the M|onaco fo|
|00005380| 6e 74 20 69 66 20 61 6e | 6f 74 68 65 72 20 61 70 |nt if an|other ap|
|00005390| 70 6c 69 63 61 74 69 6f | 6e 20 69 73 20 72 65 6d |plicatio|n is rem|
|000053a0| 6f 76 65 64 20 61 6e 64 | 20 61 6c 6c 6f 77 73 20 |oved and| allows |
|000053b0| 74 68 65 20 42 41 53 49 | 43 20 61 6e 64 20 52 75 |the BASI|C and Ru|
|000053c0| 6e 74 69 6d 65 20 70 61 | 63 6b 61 67 65 73 20 74 |ntime pa|ckages t|
|000053d0| 6f 20 63 6f 65 78 69 73 | 74 20 6f 6e 20 74 68 65 |o coexis|t on the|
|000053e0| 20 73 61 6d 65 20 63 61 | 72 64 2e 20 53 68 6f 75 | same ca|rd. Shou|
|000053f0| 6c 64 20 66 75 74 75 72 | 65 20 72 65 76 73 20 6f |ld futur|e revs o|
|00005400| 66 20 74 68 65 20 4e 65 | 77 74 6f 6e 20 63 6f 6e |f the Ne|wton con|
|00005410| 74 61 69 6e 20 61 20 4d | 6f 6e 61 63 6f 20 66 6f |tain a M|onaco fo|
|00005420| 6e 74 2c 20 69 74 20 77 | 69 6c 6c 20 75 73 65 20 |nt, it w|ill use |
|00005430| 74 68 61 74 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |that aut|omatical|
|00005440| 6c 79 2e 0d 0d 43 2e 20 | 42 75 67 20 46 69 78 65 |ly...C. |Bug Fixe|
|00005450| 73 20 69 6e 20 32 2e 30 | 30 0d 0d 31 2e 20 54 68 |s in 2.0|0..1. Th|
|00005460| 65 20 43 4f 4e 20 73 74 | 61 74 65 6d 65 6e 74 20 |e CON st|atement |
|00005470| 6e 6f 77 20 77 6f 72 6b | 73 20 70 72 6f 70 65 72 |now work|s proper|
|00005480| 6c 79 2e 0d 32 2e 20 43 | 48 41 49 4e 20 70 72 6f |ly..2. C|HAIN pro|
|00005490| 67 72 61 6d 4e 61 6d 65 | 2c 6c 69 6e 65 4e 75 6d |gramName|,lineNum|
|000054a0| 62 65 72 20 77 61 73 6e | 27 74 20 77 6f 72 6b 69 |ber wasn|'t worki|
|000054b0| 6e 67 20 70 72 6f 70 65 | 72 6c 79 20 69 66 20 61 |ng prope|rly if a|
|000054c0| 20 6c 69 6e 65 20 6e 75 | 6d 62 65 72 20 77 61 73 | line nu|mber was|
|000054d0| 20 73 70 65 63 69 66 69 | 65 64 2e 0d 33 2e 20 4f | specifi|ed..3. O|
|000054e0| 63 63 61 73 69 6f 6e 61 | 6c 6c 79 2c 20 52 45 50 |ccasiona|lly, REP|
|000054f0| 4c 41 43 45 20 61 6e 64 | 20 53 41 56 45 20 73 74 |LACE and| SAVE st|
|00005500| 61 74 65 6d 65 6e 74 73 | 20 77 65 72 65 6e 27 74 |atements| weren't|
|00005510| 20 73 61 76 69 6e 67 20 | 74 68 65 20 6c 61 74 65 | saving |the late|
|00005520| 73 74 20 76 65 72 73 69 | 6f 6e 20 6f 66 20 61 6c |st versi|on of al|
|00005530| 6c 20 6c 69 6e 65 73 2e | 0d 34 2e 20 46 4f 52 20 |l lines.|.4. FOR |
|00005540| 49 3d 31 20 74 6f 20 58 | 20 77 6f 75 6c 64 20 67 |I=1 to X| would g|
|00005550| 6f 20 69 6e 74 6f 20 61 | 6e 20 65 6e 64 6c 65 73 |o into a|n endles|
|00005560| 73 20 6c 6f 6f 70 20 69 | 66 20 58 20 77 61 73 20 |s loop i|f X was |
|00005570| 75 6e 64 65 66 69 6e 65 | 64 2e 0d 35 2e 20 54 68 |undefine|d..5. Th|
|00005580| 65 20 70 72 69 6e 74 20 | 6c 69 6e 65 20 69 73 20 |e print |line is |
|00005590| 6e 6f 77 20 66 6c 75 73 | 68 65 64 20 62 65 66 6f |now flus|hed befo|
|000055a0| 72 65 20 74 68 65 20 53 | 54 4f 50 20 73 74 61 74 |re the S|TOP stat|
|000055b0| 65 6d 65 6e 74 20 69 73 | 20 63 6f 6d 70 6c 65 74 |ement is| complet|
|000055c0| 65 64 2e 0d 36 2e 20 49 | 66 20 79 6f 75 20 74 61 |ed..6. I|f you ta|
|000055d0| 70 20 65 6e 74 65 72 20 | 74 77 69 63 65 20 69 6e |p enter |twice in|
|000055e0| 20 74 68 65 20 45 64 69 | 74 20 62 6f 78 2c 20 74 | the Edi|t box, t|
|000055f0| 68 65 20 6c 69 6e 65 20 | 69 73 20 6f 6e 6c 79 20 |he line |is only |
|00005600| 65 6e 74 65 72 65 64 20 | 6f 6e 63 65 20 6e 6f 77 |entered |once now|
|00005610| 2e 0d 37 2e 20 54 68 65 | 20 64 65 66 61 75 6c 74 |..7. The| default|
|00005620| 20 64 61 74 61 20 62 69 | 74 73 20 73 65 74 74 69 | data bi|ts setti|
|00005630| 6e 67 20 66 6f 72 20 73 | 65 72 69 61 6c 20 49 2f |ng for s|erial I/|
|00005640| 4f 20 69 73 20 6e 6f 77 | 20 73 65 74 20 70 72 6f |O is now| set pro|
|00005650| 70 65 72 6c 79 20 74 6f | 20 38 2e 0d 38 2e 20 48 |perly to| 8..8. H|
|00005660| 49 44 45 20 6e 6f 77 20 | 77 6f 72 6b 73 20 66 72 |IDE now |works fr|
|00005670| 6f 6d 20 74 68 65 20 73 | 65 72 69 61 6c 20 70 6f |om the s|erial po|
|00005680| 72 74 0d 39 2e 20 49 66 | 20 74 68 65 20 4e 65 77 |rt.9. If| the New|
|00005690| 74 6f 6e 20 77 61 73 20 | 72 65 73 65 74 20 61 66 |ton was |reset af|
|000056a0| 74 65 72 20 61 20 4c 4f | 41 44 2c 20 74 68 65 20 |ter a LO|AD, the |
|000056b0| 64 65 66 61 75 6c 74 20 | 70 72 6f 67 72 61 6d 20 |default |program |
|000056c0| 6e 61 6d 65 20 77 61 73 | 6e 27 74 20 62 65 69 6e |name was|n't bein|
|000056d0| 67 20 75 70 64 61 74 65 | 64 2e 0d 0d 32 2e 30 31 |g update|d...2.01|
|000056e0| 0d 0d 31 2e 20 54 68 65 | 20 4e 45 57 20 63 6f 6d |..1. The| NEW com|
|000056f0| 6d 61 6e 64 20 6f 6e 20 | 74 68 65 20 70 6f 70 20 |mand on |the pop |
|00005700| 6d 65 6e 75 20 68 61 73 | 20 62 65 65 6e 20 6d 6f |menu has| been mo|
|00005710| 76 65 64 20 73 6f 20 69 | 74 20 69 73 6e 27 74 20 |ved so i|t isn't |
|00005720| 73 6f 20 63 6c 6f 73 65 | 20 74 6f 20 4c 49 53 54 |so close| to LIST|
|00005730| 0d 32 2e 20 54 68 65 20 | 45 4e 56 49 52 4f 4e 20 |.2. The |ENVIRON |
|00005740| 49 52 2e 43 4f 4e 4e 45 | 43 54 20 76 61 6c 75 65 |IR.CONNE|CT value|
|00005750| 20 77 61 73 20 62 65 69 | 6e 67 20 73 65 74 20 69 | was bei|ng set i|
|00005760| 6d 70 72 6f 70 65 72 6c | 79 2e 0d 33 2e 20 41 20 |mproperl|y..3. A |
|00005770| 2d 34 38 38 30 34 20 6d | 65 73 73 61 67 65 20 74 |-48804 m|essage t|
|00005780| 68 61 74 20 61 70 70 65 | 61 72 65 64 20 6f 63 63 |hat appe|ared occ|
|00005790| 61 73 69 6f 6e 61 6c 6c | 79 20 68 61 73 20 62 65 |asionall|y has be|
|000057a0| 65 6e 20 66 69 78 65 64 | 2e 0d 34 2e 20 49 4e 50 |en fixed|..4. INP|
|000057b0| 55 54 20 65 6e 74 65 72 | 65 64 20 64 69 72 65 63 |UT enter|ed direc|
|000057c0| 74 6c 79 20 6e 6f 20 6c | 6f 6e 67 65 72 73 20 6d |tly no l|ongers m|
|000057d0| 65 73 73 65 73 20 75 70 | 20 74 68 65 20 6c 69 6e |esses up| the lin|
|000057e0| 65 20 63 6f 75 6e 74 65 | 72 20 28 77 68 79 20 77 |e counte|r (why w|
|000057f0| 6f 75 6c 64 20 61 6e 79 | 6f 6e 65 20 65 6e 74 65 |ould any|one ente|
|00005800| 72 20 49 4e 50 55 54 20 | 64 69 72 65 63 74 6c 79 |r INPUT |directly|
|00005810| 3f 29 0d 35 2e 20 50 52 | 49 4e 54 20 77 69 74 68 |?).5. PR|INT with|
|00005820| 20 61 20 6e 75 6c 6c 20 | 61 72 67 75 6d 65 6e 74 | a null |argument|
|00005830| 20 28 73 75 63 68 20 61 | 73 20 50 52 49 4e 54 20 | (such a|s PRINT |
|00005840| 2c 31 29 20 6e 6f 20 6c | 6f 6e 67 65 72 20 70 72 |,1) no l|onger pr|
|00005850| 6f 64 75 63 65 73 20 61 | 6e 20 65 72 72 6f 72 2e |oduces a|n error.|
|00005860| 0d 36 2e 20 53 74 61 74 | 65 6d 65 6e 74 73 20 77 |.6. Stat|ements w|
|00005870| 68 69 63 68 20 65 6e 63 | 6f 75 6e 74 65 72 20 72 |hich enc|ounter r|
|00005880| 75 6e 20 74 69 6d 65 20 | 65 72 72 6f 72 73 20 61 |un time |errors a|
|00005890| 72 65 20 6e 6f 20 6c 6f | 6e 67 65 72 20 62 65 69 |re no lo|nger bei|
|000058a0| 6e 67 20 70 65 72 6d 61 | 6e 65 6e 74 6c 79 20 66 |ng perma|nently f|
|000058b0| 6c 61 67 67 65 64 2e 0d | 0d 32 2e 30 32 0d 0d 31 |lagged..|.2.02..1|
|000058c0| 2e 20 53 6f 6d 65 74 69 | 6d 65 73 20 74 68 65 20 |. Someti|mes the |
|000058d0| 73 63 72 65 65 6e 20 77 | 61 73 6e 27 74 20 75 70 |screen w|asn't up|
|000058e0| 64 61 74 69 6e 67 20 77 | 69 6e 64 6f 77 20 6f 62 |dating w|indow ob|
|000058f0| 6a 65 63 74 73 20 69 6d | 6d 65 64 69 61 74 65 6c |jects im|mediatel|
|00005900| 79 2e 0d 32 2e 20 49 66 | 20 61 6e 20 49 4e 50 55 |y..2. If| an INPU|
|00005910| 54 20 73 74 61 74 65 6d | 65 6e 74 20 68 61 64 20 |T statem|ent had |
|00005920| 61 6e 20 65 72 72 6f 72 | 20 34 36 20 28 74 6f 6f |an error| 46 (too|
|00005930| 20 6d 61 6e 79 20 76 61 | 6c 75 65 73 20 69 6e 70 | many va|lues inp|
|00005940| 75 74 29 2c 20 65 78 65 | 63 75 74 69 6f 6e 20 77 |ut), exe|cution w|
|00005950| 61 73 6e 27 74 20 73 74 | 6f 70 70 69 6e 67 2e 0d |asn't st|opping..|
|00005960| 33 2e 20 54 68 65 20 73 | 74 61 74 65 6d 65 6e 74 |3. The s|tatement|
|00005970| 73 20 69 6e 20 61 6e 20 | 4f 4e 20 47 4f 54 4f 20 |s in an |ON GOTO |
|00005980| 77 65 72 65 20 62 65 69 | 6e 67 20 70 6c 61 63 65 |were bei|ng place|
|00005990| 64 20 6f 6e 20 74 68 65 | 20 47 4f 53 55 42 20 73 |d on the| GOSUB s|
|000059a0| 74 61 63 6b 2e 0d 34 2e | 20 49 4e 50 55 54 20 41 |tack..4.| INPUT A|
|000059b0| 24 20 64 6f 65 73 6e 27 | 74 20 70 6c 61 63 65 20 |$ doesn'|t place |
|000059c0| 61 20 43 52 20 61 74 20 | 74 68 65 20 65 6e 64 20 |a CR at |the end |
|000059d0| 6f 66 20 74 68 65 20 69 | 6e 70 75 74 20 41 24 20 |of the i|nput A$ |
|000059e0| 76 61 6c 75 65 2e 0d 35 | 2e 20 48 49 44 45 20 58 |value..5|. HIDE X|
|000059f0| 2c 20 77 68 65 72 65 20 | 78 20 69 73 20 74 6f 6f |, where |x is too|
|00005a00| 20 6c 61 72 67 65 20 61 | 20 77 69 6e 64 6f 77 20 | large a| window |
|00005a10| 6e 75 6d 62 65 72 2c 20 | 77 6f 75 6c 64 20 6f 63 |number, |would oc|
|00005a20| 63 61 73 69 6f 6e 61 6c | 6c 79 20 68 61 6e 67 2e |casional|ly hang.|
|00005a30| 0d 36 2e 20 54 68 65 20 | 54 45 58 54 20 76 61 6c |.6. The |TEXT val|
|00005a40| 75 65 20 6f 66 20 61 20 | 77 69 6e 64 6f 77 20 6f |ue of a |window o|
|00005a50| 62 6a 65 63 74 20 69 73 | 20 63 61 70 74 75 72 65 |bject is| capture|
|00005a60| 64 20 6d 6f 72 65 20 72 | 65 6c 69 61 62 6c 79 2e |d more r|eliably.|
|00005a70| 0d 37 2e 20 48 61 6e 64 | 6c 69 6e 67 20 6f 66 20 |.7. Hand|ling of |
|00005a80| 65 6e 64 20 6f 66 20 6f | 62 73 6f 6c 65 74 65 64 |end of o|bsoleted|
|00005a90| 20 57 41 49 54 73 20 69 | 73 20 6e 6f 77 20 64 6f | WAITs i|s now do|
|00005aa0| 6e 65 20 70 72 6f 70 65 | 72 6c 79 2e 0d 38 2e 20 |ne prope|rly..8. |
|00005ab0| 54 68 65 20 49 4e 50 55 | 54 20 73 74 61 74 65 6d |The INPU|T statem|
|00005ac0| 65 6e 74 20 6e 6f 77 20 | 68 61 6e 64 6c 65 73 20 |ent now |handles |
|00005ad0| 69 6e 70 75 74 20 73 75 | 63 68 20 61 73 20 22 34 |input su|ch as "4|
|00005ae0| 35 20 55 6e 69 74 73 22 | 20 70 72 6f 70 65 72 6c |5 Units"| properl|
|00005af0| 79 2e 0d 39 2e 20 53 65 | 72 69 61 6c 20 69 6e 70 |y..9. Se|rial inp|
|00005b00| 75 74 20 66 6f 72 20 6c | 61 72 67 65 20 61 6d 6f |ut for l|arge amo|
|00005b10| 75 6e 74 73 20 6f 66 20 | 64 61 74 61 20 68 61 73 |unts of |data has|
|00005b20| 20 62 65 65 6e 20 69 6d | 70 72 6f 76 65 64 2e 0d | been im|proved..|
|00005b30| 31 30 2e 20 49 66 20 74 | 68 65 72 65 20 69 73 20 |10. If t|here is |
|00005b40| 61 6e 20 65 72 72 6f 72 | 20 69 6e 20 61 6e 20 49 |an error| in an I|
|00005b50| 46 20 63 6f 6e 64 69 74 | 69 6f 6e 2c 20 74 68 65 |F condit|ion, the|
|00005b60| 20 45 4c 53 45 20 63 6c | 61 75 73 65 20 69 73 20 | ELSE cl|ause is |
|00005b70| 6e 6f 20 6c 6f 6e 67 65 | 72 20 65 78 65 63 75 74 |no longe|r execut|
|00005b80| 65 64 2e 0d 31 31 2e 20 | 52 45 41 44 20 41 24 20 |ed..11. |READ A$ |
|00005b90| 77 69 6c 6c 20 6e 6f 77 | 20 66 6f 72 63 65 20 74 |will now| force t|
|00005ba0| 68 65 20 63 6f 6e 74 65 | 6e 74 73 20 6f 66 20 41 |he conte|nts of A|
|00005bb0| 24 20 74 6f 20 61 63 74 | 75 61 6c 6c 79 20 62 65 |$ to act|ually be|
|00005bc0| 20 61 20 73 74 72 69 6e | 67 2e 09 09 0d 0d 32 2e | a strin|g.....2.|
|00005bd0| 30 33 0d 0d 31 2e 20 52 | 45 41 44 20 6e 6f 77 20 |03..1. R|EAD now |
|00005be0| 65 6e 66 6f 72 63 65 73 | 20 73 74 72 69 6e 67 24 |enforces| string$|
|00005bf0| 20 74 79 70 65 20 76 61 | 72 69 61 62 6c 65 73 2e | type va|riables.|
|00005c00| 0d 32 2e 20 54 68 65 20 | 49 4e 50 55 54 20 73 74 |.2. The |INPUT st|
|00005c10| 61 74 65 6d 65 6e 74 20 | 77 69 6c 6c 20 6e 6f 77 |atement |will now|
|00005c20| 20 70 6c 61 63 65 73 20 | 74 68 65 20 63 75 72 73 | places |the curs|
|00005c30| 6f 72 20 70 72 6f 70 65 | 72 6c 79 20 77 68 65 6e |or prope|rly when|
|00005c40| 20 4e 53 20 42 41 53 49 | 43 20 69 73 20 66 69 72 | NS BASI|C is fir|
|00005c50| 73 74 20 73 74 61 72 74 | 65 64 2e 0d 33 2e 20 41 |st start|ed..3. A|
|00005c60| 6e 20 65 72 72 6f 72 20 | 69 6e 20 74 68 65 6e 20 |n error |in then |
|00005c70| 45 52 41 53 45 20 73 74 | 61 74 65 6d 65 6e 74 20 |ERASE st|atement |
|00005c80| 68 61 73 20 62 65 65 6e | 20 66 69 78 65 64 2e 0d |has been| fixed..|
|00005c90| 34 2e 20 41 20 62 75 67 | 20 69 6e 20 74 68 65 20 |4. A bug| in the |
|00005ca0| 68 61 6e 64 6c 69 6e 67 | 20 6f 66 20 63 6f 6d 70 |handling| of comp|
|00005cb0| 6c 65 78 20 49 46 20 73 | 74 61 74 65 6d 65 6e 74 |lex IF s|tatement|
|00005cc0| 73 20 77 69 74 68 20 47 | 4f 53 55 42 20 73 74 61 |s with G|OSUB sta|
|00005cd0| 74 65 6d 65 6e 74 73 20 | 68 61 73 20 62 65 65 6e |tements |has been|
|00005ce0| 20 63 6f 72 72 65 63 74 | 65 64 2e 20 45 78 61 6d | correct|ed. Exam|
|00005cf0| 70 6c 65 3a 20 69 66 20 | 61 20 74 68 65 6e 20 67 |ple: if |a then g|
|00005d00| 6f 73 75 62 20 35 30 30 | 20 65 6c 73 65 20 69 66 |osub 500| else if|
|00005d10| 20 62 20 74 68 65 6e 20 | 67 6f 73 75 62 20 36 30 | b then |gosub 60|
|00005d20| 30 20 65 6c 73 65 20 69 | 66 20 31 20 74 68 65 6e |0 else i|f 1 then|
|00005d30| 20 67 6f 73 75 62 20 37 | 30 30 20 65 6c 73 65 20 | gosub 7|00 else |
|00005d40| 64 3d 31 0d 35 2e 20 4f | 4e 20 45 52 52 4f 52 20 |d=1.5. O|N ERROR |
|00005d50| 6e 6f 77 20 74 72 61 70 | 73 20 65 6e 74 65 72 69 |now trap|s enteri|
|00005d60| 6e 67 20 74 6f 6f 20 6d | 61 6e 79 20 69 74 65 6d |ng too m|any item|
|00005d70| 73 20 6f 6e 20 61 6e 20 | 49 4e 50 55 54 20 73 74 |s on an |INPUT st|
|00005d80| 61 74 65 6d 65 6e 74 2e | 0d 36 2e 20 4f 4e 20 45 |atement.|.6. ON E|
|00005d90| 52 52 4f 52 20 6e 6f 77 | 20 70 72 6f 70 65 72 20 |RROR now| proper |
|00005da0| 74 72 61 70 73 20 61 6e | 20 75 6e 6f 70 65 6e 65 |traps an| unopene|
|00005db0| 64 20 66 69 6c 65 20 6f | 6e 20 47 45 54 20 61 6e |d file o|n GET an|
|00005dc0| 64 20 50 55 54 20 73 74 | 61 74 65 6d 65 6e 74 73 |d PUT st|atements|
|00005dd0| 2e 0d 37 2e 20 54 61 70 | 70 69 6e 67 20 43 6f 6e |..7. Tap|ping Con|
|00005de0| 6e 65 63 74 20 49 52 20 | 77 68 65 6e 20 74 68 65 |nect IR |when the|
|00005df0| 20 73 65 72 69 61 6c 20 | 70 6f 72 74 20 77 61 73 | serial |port was|
|00005e00| 20 69 6e 20 75 73 65 20 | 28 6f 72 20 76 69 63 65 | in use |(or vice|
|00005e10| 20 76 65 72 73 61 29 20 | 69 73 20 6e 6f 20 6c 6f | versa) |is no lo|
|00005e20| 6e 67 65 72 20 61 6c 6c | 6f 77 65 64 2e 20 54 68 |nger all|owed. Th|
|00005e30| 65 20 73 65 72 69 61 6c | 20 61 6e 64 20 49 52 20 |e serial| and IR |
|00005e40| 70 6f 72 74 73 20 63 61 | 6e 6e 6f 74 20 62 65 20 |ports ca|nnot be |
|00005e50| 75 73 65 64 20 61 74 20 | 74 68 65 20 73 61 6d 65 |used at |the same|
|00005e60| 20 74 69 6d 65 2e 0d 38 | 2e 20 53 68 75 74 74 69 | time..8|. Shutti|
|00005e70| 6e 67 20 64 6f 77 6e 20 | 4e 53 20 42 41 53 49 43 |ng down |NS BASIC|
|00005e80| 20 77 68 69 6c 65 20 74 | 68 65 72 65 20 69 73 20 | while t|here is |
|00005e90| 73 74 69 6c 6c 20 61 20 | 57 41 49 54 20 72 65 71 |still a |WAIT req|
|00005ea0| 75 65 73 74 20 6f 75 74 | 73 74 61 6e 64 69 6e 67 |uest out|standing|
|00005eb0| 20 77 6f 6e 27 74 20 63 | 61 75 73 65 20 61 6e 20 | won't c|ause an |
|00005ec0| 65 72 72 6f 72 20 61 6e | 79 6d 6f 72 65 2e 0d 39 |error an|ymore..9|
|00005ed0| 2e 20 54 68 65 20 48 49 | 44 45 20 63 6f 6d 6d 61 |. The HI|DE comma|
|00005ee0| 6e 64 20 6e 6f 77 20 70 | 72 6f 70 65 72 6c 79 20 |nd now p|roperly |
|00005ef0| 63 6c 65 61 6e 73 20 75 | 70 20 65 76 65 72 79 74 |cleans u|p everyt|
|00005f00| 68 69 6e 67 20 6f 6e 20 | 74 68 65 20 73 63 72 65 |hing on |the scre|
|00005f10| 65 6e 2e 0d 31 30 2e 20 | 4c 49 53 54 20 6e 6f 20 |en..10. |LIST no |
|00005f20| 6c 6f 6e 67 65 72 20 72 | 75 6e 73 20 6f 75 74 20 |longer r|uns out |
|00005f30| 6f 66 20 6d 65 6d 6f 72 | 79 20 6f 6e 20 74 68 65 |of memor|y on the|
|00005f40| 20 53 65 72 69 61 6c 20 | 70 6f 72 74 20 6f 6e 20 | Serial |port on |
|00005f50| 76 65 72 79 20 6c 6f 6e | 67 20 70 72 6f 67 72 61 |very lon|g progra|
|00005f60| 6d 73 2e 20 4c 69 73 74 | 69 6e 67 20 69 73 20 61 |ms. List|ing is a|
|00005f70| 6c 73 6f 20 63 6f 6e 74 | 69 6e 75 6f 75 73 20 77 |lso cont|inuous w|
|00005f80| 69 74 68 6f 75 74 20 70 | 61 75 73 65 73 2e 0d 31 |ithout p|auses..1|
|00005f90| 31 2e 20 54 68 65 20 46 | 4f 52 2f 4e 45 58 54 20 |1. The F|OR/NEXT |
|00005fa0| 63 6f 6d 6d 61 6e 64 20 | 68 61 73 20 62 65 65 6e |command |has been|
|00005fb0| 20 63 68 61 6e 67 65 64 | 20 74 6f 20 6d 61 6b 65 | changed| to make|
|00005fc0| 20 69 74 20 63 6f 6e 73 | 69 73 74 61 6e 74 20 77 | it cons|istant w|
|00005fd0| 69 74 68 20 6d 6f 72 65 | 20 66 6f 72 6d 73 20 6f |ith more| forms o|
|00005fe0| 66 20 42 41 53 49 43 2e | 20 54 68 65 20 6c 6f 6f |f BASIC.| The loo|
|00005ff0| 70 20 46 4f 52 20 49 3d | 31 20 74 6f 20 30 20 77 |p FOR I=|1 to 0 w|
|00006000| 69 6c 6c 20 6e 6f 77 20 | 6e 6f 74 20 65 78 65 63 |ill now |not exec|
|00006010| 75 74 65 20 61 74 20 61 | 6c 6c 3a 20 69 74 20 75 |ute at a|ll: it u|
|00006020| 73 65 64 20 74 6f 20 65 | 78 65 63 75 74 65 20 6f |sed to e|xecute o|
|00006030| 6e 63 65 2e 0d 0d 44 2e | 20 4b 6e 6f 77 6e 20 42 |nce...D.| Known B|
|00006040| 75 67 73 20 61 6e 64 20 | 51 75 69 72 6b 73 0d 0d |ugs and |Quirks..|
|00006050| 31 2e 20 42 59 45 20 64 | 6f 65 73 20 6e 6f 74 20 |1. BYE d|oes not |
|00006060| 77 6f 72 6b 20 66 72 6f | 6d 20 74 68 65 20 73 65 |work fro|m the se|
|00006070| 72 69 61 6c 20 70 6f 72 | 74 2e 0d 32 2e 20 50 69 |rial por|t..2. Pi|
|00006080| 63 6b 65 72 20 61 6e 64 | 20 4c 61 62 65 6c 50 69 |cker and| LabelPi|
|00006090| 63 6b 65 72 20 77 69 6e | 64 6f 77 20 6f 62 6a 65 |cker win|dow obje|
|000060a0| 63 74 73 20 63 61 6e 20 | 62 65 20 71 75 69 72 6b |cts can |be quirk|
|000060b0| 79 2e 20 0d 33 2e 20 45 | 4e 56 49 52 4f 4e 20 49 |y. .3. E|NVIRON I|
|000060c0| 4f 3d 22 53 43 52 45 45 | 4e 22 20 64 6f 65 73 6e |O="SCREE|N" doesn|
|000060d0| 27 74 20 73 77 69 74 63 | 68 20 62 61 63 6b 20 70 |'t switc|h back p|
|000060e0| 72 6f 70 65 72 6c 79 20 | 66 72 6f 6d 20 49 52 20 |roperly |from IR |
|000060f0| 77 68 65 6e 20 69 6e 20 | 61 20 70 72 6f 67 72 61 |when in |a progra|
|00006100| 6d 2e 20 55 73 65 20 74 | 68 65 20 63 68 65 63 6b |m. Use t|he check|
|00006110| 62 6f 78 20 69 6e 73 74 | 65 61 64 2e 0d 34 2e 20 |box inst|ead..4. |
|00006120| 49 66 20 6f 6e 65 20 6f | 66 20 79 6f 75 72 20 76 |If one o|f your v|
|00006130| 61 72 69 61 62 6c 65 73 | 20 68 61 73 20 74 68 65 |ariables| has the|
|00006140| 20 76 61 6c 75 65 20 6f | 66 20 61 20 76 65 72 79 | value o|f a very|
|00006150| 20 6c 61 72 67 65 20 6f | 62 6a 65 63 74 2c 20 73 | large o|bject, s|
|00006160| 75 63 68 20 61 73 20 67 | 65 74 72 6f 6f 74 28 29 |uch as g|etroot()|
|00006170| 2c 20 74 68 65 20 56 41 | 52 53 20 63 6f 6d 6d 61 |, the VA|RS comma|
|00006180| 6e 64 20 77 69 6c 6c 20 | 72 75 6e 20 6f 75 74 20 |nd will |run out |
|00006190| 6f 66 20 6d 65 6d 6f 72 | 79 2e 0d 00 00 00 00 00 |of memor|y.......|
|000061a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000061f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006200| 00 00 01 00 00 00 01 1a | 00 00 00 1a 00 00 00 32 |........|.......2|
|00006210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006220| 00 00 00 0c 50 6f 77 65 | 72 50 43 20 36 31 30 30 |....Powe|rPC 6100|
|00006230| 0d 52 65 6c 65 61 73 65 | 20 4e 6f 74 65 73 02 00 |.Release| Notes..|
|00006240| 00 00 54 45 58 54 74 74 | 78 74 01 00 00 34 00 80 |..TEXTtt|xt...4..|
|00006250| 00 00 54 45 58 54 74 74 | 78 74 01 00 00 34 00 80 |..TEXTtt|xt...4..|
|00006260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006270| 00 00 ab 55 a1 ae 00 00 | 61 1b 00 00 01 4c 00 00 |...U....|a....L..|
|00006280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006290| 00 00 ff ff 00 00 00 00 | 01 00 00 00 02 96 00 00 |........|........|
|000062a0| 01 96 00 00 00 45 01 05 | 96 f4 12 00 00 00 00 1c |.....E..|........|
|000062b0| 00 32 00 00 61 6c 69 73 | 00 00 00 0a 00 00 00 00 |.2..alis|........|
|000062c0| 00 00 00 00 00 1a 13 44 | 12 4e 53 20 42 61 73 69 |.......D|.NS Basi|
|000062d0| 63 20 31 2e 32 20 61 6c | 69 61 73 70 00 30 28 00 |c 1.2 al|iasp.0(.|
|000062e0| 06 b0 ae ff c6 6f 06 20 | 0b 66 00 fe 4a 4a 85 66 |.....o. |.f..JJ.f|
|000062f0| 48 2f 0c 20 6e 00 08 2f | 28 00 22 4e ba 07 c4 50 |H/. n../|(."N...P|
|00006300| 00 00 00 16 00 01 00 00 | 00 00 00 0b 00 09 00 04 |........|........|
|00006310| 00 00 00 09 00 00 00 00 | 00 00 00 00 01 00 00 00 |........|........|
|00006320| 01 1a 00 00 00 1a 00 00 | 00 32 00 f9 e1 a8 16 68 |........|.2.....h|
|00006330| 00 00 00 1c 00 32 00 00 | 73 74 79 6c 00 00 00 0a |.....2..|styl....|
|00006340| 00 80 ff ff 00 00 00 00 | 00 f9 e5 94 00 00 00 00 |........|........|
|00006350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+